Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000981/0.000981, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000888/0.0008879, allocations: 84.52 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06235/0.06235, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2702/0.2702, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.106e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 69.24 MB / 0.5889 GB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.474, allocations: 104.6 MB / 0.6911 GB, free: 11.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.4742, allocations: 80.89 kB / 0.6912 GB, free: 11.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2114/0.6857, allocations: 82.06 MB / 0.7713 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.644e-06/0.6857, allocations: 0 / 0.7713 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003114/0.686, allocations: 59.88 kB / 0.7714 GB, free: 3.844 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01098/0.697, allocations: 3.369 MB / 0.7747 GB, free: 392 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.6971, allocations: 11.98 kB / 0.7747 GB, free: 380 kB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006875/0.6978, allocations: 273.7 kB / 0.775 GB, free: 96 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/0.7047, allocations: 1.178 MB / 0.7761 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/0.7088, allocations: 1.753 MB / 0.7778 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004974/0.7093, allocations: 468.6 kB / 0.7783 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/0.7098, allocations: 191.9 kB / 0.7784 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/0.7138, allocations: 2.178 MB / 0.7806 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.7139, allocations: 0 / 0.7806 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.7141, allocations: 79.98 kB / 0.7807 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.7142, allocations: 44 kB / 0.7807 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003627/0.7178, allocations: 1.982 MB / 0.7826 GB, free: 8.078 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.7353, allocations: 9.079 MB / 0.7915 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009818/0.7452, allocations: 4.618 MB / 0.796 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/0.7477, allocations: 1.343 MB / 0.7973 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.748, allocations: 37.97 kB / 0.7974 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002707/0.7507, allocations: 1.572 MB / 0.7989 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=242): time 4.409e-06/0.7507, allocations: 0 / 0.7989 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of matching and sorting (n=242): time 0.02228/0.773, allocations: 7.486 MB / 0.8062 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.7732, allocations: 235.6 kB / 0.8064 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.777, allocations: 2.041 MB / 0.8084 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006451/0.7776, allocations: 69.69 kB / 0.8085 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009229/0.7786, allocations: 1.146 MB / 0.8096 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/0.7798, allocations: 0.8393 MB / 0.8104 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.78, allocations: 52 kB / 0.8105 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.7802, allocations: 399.1 kB / 0.8109 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.7823, allocations: 1.087 MB / 0.8119 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.7844, allocations: 1.346 MB / 0.8132 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.7867, allocations: 1.369 MB / 0.8146 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.7867, allocations: 4 kB / 0.8146 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01898/0.8057, allocations: 6.849 MB / 0.8213 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.8059, allocations: 174.2 kB / 0.8214 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.8059, allocations: 4 kB / 0.8214 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/0.8164, allocations: 2.805 MB / 0.8242 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.8191, allocations: 483.3 kB / 0.8246 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02788/0.847, allocations: 16.67 MB / 0.8409 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/0.8507, allocations: 413.8 kB / 0.8413 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004097/0.8511, allocations: 87.97 kB / 0.8414 GB, free: 10.14 MB / 0.573 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006341/0.8518, allocations: 347.9 kB / 0.8417 GB, free: 9.777 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006939/0.8525, allocations: 296.3 kB / 0.842 GB, free: 9.484 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02189/0.8744, allocations: 7.705 MB / 0.8495 GB, free: 1.723 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/0.8745, allocations: 28 kB / 0.8496 GB, free: 1.695 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.8745, allocations: 0 / 0.8496 GB, free: 1.695 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.101e-05/0.8745, allocations: 15.95 kB / 0.8496 GB, free: 1.68 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02784/0.9024, allocations: 11.68 MB / 0.861 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.9025, allocations: 0 / 0.861 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.904, allocations: 247.6 kB / 0.8612 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01052/0.9145, allocations: 3.262 MB / 0.8644 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005415/0.9151, allocations: 55.98 kB / 0.8644 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2836/1.199, allocations: 17.36 MB / 0.8814 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.199, allocations: 4.688 kB / 0.8814 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02551/1.224, allocations: 9.378 MB / 0.8906 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/1.226, allocations: 457.3 kB / 0.891 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.227, allocations: 48.78 kB / 0.8911 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003143/1.23, allocations: 283.2 kB / 0.8913 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001514/1.232, allocations: 380.7 kB / 0.8917 GB, free: 159 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.232, allocations: 70.27 kB / 0.8918 GB, free: 159 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00232/1.234, allocations: 1.556 MB / 0.8933 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.9e-07/1.234, allocations: 0 / 0.8933 GB, free: 158.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003033/1.237, allocations: 0.9724 MB / 0.8942 GB, free: 158.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02172/1.259, allocations: 10.22 MB / 0.9042 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.008983/1.268, allocations: 5.053 MB / 0.9091 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.268, allocations: 0 / 0.9091 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00729/1.275, allocations: 3.515 MB / 0.9126 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/1.277, allocations: 255.2 kB / 0.9128 GB, free: 153.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008296/1.285, allocations: 4.9 MB / 0.9176 GB, free: 151.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.286, allocations: 1.846 MB / 0.9194 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009032/1.287, allocations: 223 kB / 0.9196 GB, free: 150.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.289, allocations: 1.183 MB / 0.9208 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of SimCode: time 7.42e-07/1.289, allocations: 4 kB / 0.9208 GB, free: 149.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08639/1.375, allocations: 73.04 MB / 0.9921 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/1.375, allocations: 182.2 kB / 0.9923 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.349/5.724, allocations: 0 / 0.9923 GB, free: 102.1 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_3_Example_3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_3_Example_3.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)