Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008361, allocations: 81.52 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4237/0.4237, allocations: 78.07 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.468e-05, allocations: 8 kB / 491.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.302, allocations: 69.33 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4249, allocations: 102.3 MB / 0.6478 GB, free: 14.28 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.4251, allocations: 75.91 kB / 0.6479 GB, free: 14.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4431/0.8682, allocations: 71.26 MB / 0.7175 GB, free: 91.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.8682, allocations: 0 / 0.7175 GB, free: 91.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.8684, allocations: 56 kB / 0.7176 GB, free: 91.02 MB / 490.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.007442/0.8758, allocations: 3.347 MB / 0.7208 GB, free: 87.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.8759, allocations: 15.97 kB / 0.7208 GB, free: 87.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006771/0.8827, allocations: 1.173 MB / 0.722 GB, free: 86.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003889/0.8866, allocations: 1.741 MB / 0.7237 GB, free: 84.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000385/0.887, allocations: 472.5 kB / 0.7241 GB, free: 84.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.8874, allocations: 191.9 kB / 0.7243 GB, free: 83.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.8907, allocations: 2.138 MB / 0.7264 GB, free: 81.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.8908, allocations: 3.938 kB / 0.7264 GB, free: 81.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.891, allocations: 75.98 kB / 0.7265 GB, free: 81.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.891, allocations: 44 kB / 0.7265 GB, free: 81.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/0.8939, allocations: 1.959 MB / 0.7284 GB, free: 79.64 MB / 490.7 MB 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.01351/0.9074, allocations: 8.902 MB / 0.7371 GB, free: 70.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008741/0.9162, allocations: 4.582 MB / 0.7416 GB, free: 65.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.9183, allocations: 1.311 MB / 0.7429 GB, free: 64.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.9186, allocations: 41.95 kB / 0.7429 GB, free: 64.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002127/0.9207, allocations: 1.532 MB / 0.7444 GB, free: 62.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 3.777e-06/0.9207, allocations: 0 / 0.7444 GB, free: 62.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.02033/0.941, allocations: 7.381 MB / 0.7516 GB, free: 55.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.9411, allocations: 243.5 kB / 0.7519 GB, free: 54.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.9439, allocations: 2.03 MB / 0.7539 GB, free: 52.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005305/0.9445, allocations: 73.69 kB / 0.7539 GB, free: 52.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/0.9451, allocations: 1.142 MB / 0.755 GB, free: 51.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000698/0.9458, allocations: 0.8163 MB / 0.7558 GB, free: 50.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.946, allocations: 48 kB / 0.7559 GB, free: 50.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.9461, allocations: 398.9 kB / 0.7563 GB, free: 50.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.9477, allocations: 1.055 MB / 0.7573 GB, free: 49.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.9494, allocations: 1.322 MB / 0.7586 GB, free: 47.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.9512, allocations: 1.34 MB / 0.7599 GB, free: 46.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.9512, allocations: 0 / 0.7599 GB, free: 46.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01734/0.9686, allocations: 6.801 MB / 0.7665 GB, free: 39.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/0.9687, allocations: 172.2 kB / 0.7667 GB, free: 39.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.9687, allocations: 4 kB / 0.7667 GB, free: 39.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009641/0.9784, allocations: 2.797 MB / 0.7694 GB, free: 36.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/0.9809, allocations: 467.4 kB / 0.7699 GB, free: 36.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02379/1.005, allocations: 16.66 MB / 0.7862 GB, free: 18.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/1.008, allocations: 401.9 kB / 0.7865 GB, free: 18.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003564/1.009, allocations: 87.97 kB / 0.7866 GB, free: 18.29 MB / 490.7 MB 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 (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.0005224/1.009, allocations: 343.5 kB / 0.7869 GB, free: 17.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005449/1.01, allocations: 300.2 kB / 0.7872 GB, free: 17.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02017/1.03, allocations: 7.615 MB / 0.7947 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/1.03, allocations: 24 kB / 0.7947 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.03, allocations: 4 kB / 0.7947 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/1.03, allocations: 11.95 kB / 0.7947 GB, free: 9.922 MB / 490.7 MB 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.02462/1.055, allocations: 11.56 MB / 0.806 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/1.055, allocations: 4 kB / 0.806 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.056, allocations: 235.6 kB / 0.8062 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/1.067, allocations: 3.262 MB / 0.8094 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000468/1.068, allocations: 55.98 kB / 0.8095 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03125/1.099, allocations: 17.38 MB / 0.8264 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.099, allocations: 0 / 0.8264 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02569/1.124, allocations: 9.304 MB / 0.8355 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.126, allocations: 452.6 kB / 0.836 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005516/1.126, allocations: 47.98 kB / 0.836 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.129, allocations: 279.8 kB / 0.8363 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/1.13, allocations: 378.1 kB / 0.8366 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/1.13, allocations: 63.98 kB / 0.8367 GB, free: 14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00225/1.132, allocations: 1.548 MB / 0.8382 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/1.132, allocations: 4 kB / 0.8382 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002798/1.135, allocations: 0.9481 MB / 0.8391 GB, free: 11.5 MB / 0.5261 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 (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.0003981/1.136, allocations: 193.2 kB / 0.8393 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.146, allocations: 4.984 MB / 0.8442 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.146, allocations: 0 / 0.8442 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008557/1.155, allocations: 3.482 MB / 0.8476 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/1.157, allocations: 256.1 kB / 0.8478 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008219/1.166, allocations: 4.348 MB / 0.8521 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.167, allocations: 1.838 MB / 0.8539 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001176/1.168, allocations: 219.7 kB / 0.8541 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/1.169, allocations: 139.3 kB / 0.8542 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/1.169, allocations: 0 / 0.8542 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of Templates: time 0.3406/1.509, allocations: 48.19 MB / 0.9013 GB, free: 170.7 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)