Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.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-master/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-master/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: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00514/0.00514, allocations: 169.6 kB / 15.11 MB, free: 5.973 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.512/1.512, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.0009958/0.0009957, allocations: 90.81 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08089/0.0809, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4431/0.4431, allocations: 78.52 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005337/0.0005337, allocations: 18.62 kB / 0.5285 GB, free: 35.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1565, allocations: 69.33 MB / 0.5962 GB, free: 3.832 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5784, allocations: 104 MB / 0.6977 GB, free: 99.83 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.5787, allocations: 75.08 kB / 0.6978 GB, free: 99.83 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1628/0.7415, allocations: 69.53 MB / 0.7657 GB, free: 43.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7415, allocations: 0 / 0.7657 GB, free: 43.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001915/0.7417, allocations: 56.81 kB / 0.7657 GB, free: 43.72 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.01046/0.7522, allocations: 4.041 MB / 0.7697 GB, free: 39.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.7522, allocations: 11.98 kB / 0.7697 GB, free: 39.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007182/0.7594, allocations: 1.19 MB / 0.7709 GB, free: 38.37 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.7638, allocations: 1.823 MB / 0.7726 GB, free: 36.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.7642, allocations: 476.5 kB / 0.7731 GB, free: 35.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/0.7646, allocations: 183.9 kB / 0.7733 GB, free: 35.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004113/0.7687, allocations: 2.454 MB / 0.7757 GB, free: 33.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.7687, allocations: 4 kB / 0.7757 GB, free: 33.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.7689, allocations: 75.98 kB / 0.7758 GB, free: 33.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.769, allocations: 44 kB / 0.7758 GB, free: 33.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/0.7729, allocations: 2.31 MB / 0.778 GB, free: 30.86 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01392/0.7868, allocations: 8.901 MB / 0.7867 GB, free: 21.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009014/0.7958, allocations: 4.933 MB / 0.7916 GB, free: 16.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.7961, allocations: 41.95 kB / 0.7916 GB, free: 16.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003064/0.7992, allocations: 1.844 MB / 0.7934 GB, free: 14.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=236): time 4.117e-06/0.7992, allocations: 0 / 0.7934 GB, free: 14.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.06781/0.867, allocations: 18.55 MB / 0.8115 GB, free: 11.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.8672, allocations: 239.6 kB / 0.8117 GB, free: 11.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/0.8712, allocations: 2.142 MB / 0.8138 GB, free: 9.418 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007004/0.8719, allocations: 61.7 kB / 0.8139 GB, free: 9.352 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/0.8729, allocations: 1.146 MB / 0.815 GB, free: 8.195 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.8739, allocations: 0.8162 MB / 0.8158 GB, free: 7.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.8741, allocations: 52 kB / 0.8159 GB, free: 7.316 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8743, allocations: 394.9 kB / 0.8162 GB, free: 6.926 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002679/0.877, allocations: 1.363 MB / 0.8176 GB, free: 5.559 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002751/0.8798, allocations: 1.63 MB / 0.8192 GB, free: 3.852 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002851/0.8826, allocations: 1.641 MB / 0.8208 GB, free: 2.145 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.8826, allocations: 0 / 0.8208 GB, free: 2.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02148/0.9041, allocations: 7.667 MB / 0.8282 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.9043, allocations: 170.2 kB / 0.8284 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.9043, allocations: 4 kB / 0.8284 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/0.9167, allocations: 3.324 MB / 0.8317 GB, free: 6.809 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.9197, allocations: 471.3 kB / 0.8321 GB, free: 6.348 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03703/0.9568, allocations: 20.03 MB / 0.8517 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/0.9611, allocations: 409.8 kB / 0.8521 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004986/0.9616, allocations: 87.97 kB / 0.8521 GB, free: 1.152 MB / 0.5105 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 224 * 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.001721/0.9633, allocations: 0.5901 MB / 0.8527 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009131/0.9643, allocations: 300.2 kB / 0.853 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0242/0.9885, allocations: 8.486 MB / 0.8613 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/0.9885, allocations: 24 kB / 0.8613 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.9886, allocations: 0 / 0.8613 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-05/0.9886, allocations: 11.95 kB / 0.8613 GB, free: 7.668 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03031/1.019, allocations: 12.43 MB / 0.8735 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/1.019, allocations: 4 kB / 0.8735 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.021, allocations: 223.7 kB / 0.8737 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01296/1.034, allocations: 3.815 MB / 0.8774 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000759/1.034, allocations: 55.98 kB / 0.8775 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04245/1.077, allocations: 21.23 MB / 0.8982 GB, free: 1.098 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.077, allocations: 3.938 kB / 0.8982 GB, free: 1.094 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02812/1.105, allocations: 10.46 MB / 0.9084 GB, free: 6.539 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.107, allocations: 452.7 kB / 0.9088 GB, free: 6.074 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006565/1.107, allocations: 48 kB / 0.9089 GB, free: 6.027 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/1.11, allocations: 275.8 kB / 0.9092 GB, free: 5.758 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/1.111, allocations: 378.4 kB / 0.9095 GB, free: 5.383 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/1.111, allocations: 67.97 kB / 0.9096 GB, free: 5.316 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003002/1.114, allocations: 1.65 MB / 0.9112 GB, free: 3.664 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.874e-06/1.114, allocations: 0 / 0.9112 GB, free: 3.664 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003919/1.118, allocations: 0.9558 MB / 0.9121 GB, free: 2.707 MB / 0.573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * 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.0004595/1.119, allocations: 201.1 kB / 0.9123 GB, free: 2.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.3116/1.43, allocations: 5.621 MB / 0.9178 GB, free: 158.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.43, allocations: 0 / 0.9178 GB, free: 158.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009415/1.44, allocations: 3.819 MB / 0.9215 GB, free: 157.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.443, allocations: 253.1 kB / 0.9218 GB, free: 157.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.453, allocations: 6.416 MB / 0.928 GB, free: 154.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/1.455, allocations: 1.832 MB / 0.9298 GB, free: 153.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001486/1.457, allocations: 225.8 kB / 0.93 GB, free: 153.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/1.457, allocations: 138.5 kB / 0.9302 GB, free: 153.9 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/1.457, allocations: 0.8125 kB / 0.9302 GB, free: 153.9 MB / 0.573 GB Notification: Performance of Templates: time 0.07666/1.534, allocations: 47.99 MB / 0.977 GB, free: 140.8 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)