Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.1 MB / 199.7 MB, free: 5.789 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002615/0.002615, allocations: 160.6 kB / 256.3 MB, free: 13.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4572/0.4572, allocations: 80.26 MB / 393 MB, free: 2.203 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0 / 489.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.481e-05/3.767e-05, allocations: 2.312 kB / 489.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01819/0.01823, allocations: 11.79 MB / 0.4891 GB, free: 144 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009946/0.02818, allocations: 3.663 MB / 0.4927 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003033/0.03121, allocations: 27.94 kB / 0.4927 GB, free: 12.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.03381, allocations: 0.5185 MB / 0.4932 GB, free: 11.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006651/0.04046, allocations: 1.646 MB / 0.4948 GB, free: 10.3 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004177/0.04464, allocations: 1.419 MB / 0.4962 GB, free: 8.898 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007818/0.05246, allocations: 4.196 MB / 0.5003 GB, free: 4.684 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.05413, allocations: 0.6311 MB / 0.5009 GB, free: 4 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/0.05913, allocations: 2.319 MB / 0.5032 GB, free: 1.672 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.06223, allocations: 1.579 MB / 0.5047 GB, free: 92 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009179/0.06315, allocations: 380 kB / 0.5051 GB, free: 15.71 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.06446, allocations: 0.5348 MB / 0.5056 GB, free: 15.18 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009453/0.0654, allocations: 0.8714 MB / 0.5065 GB, free: 14.31 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001993/0.0674, allocations: 1.184 MB / 0.5076 GB, free: 13.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007037/0.07443, allocations: 4.763 MB / 0.5123 GB, free: 8.344 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.07444, allocations: 0 / 0.5123 GB, free: 8.344 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.07444, allocations: 4.625 kB / 0.5123 GB, free: 8.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001812/0.07462, allocations: 0 / 0.5123 GB, free: 8.34 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.02245/0.09707, allocations: 6.926 MB / 0.5191 GB, free: 1.312 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.09713, allocations: 16.02 kB / 0.5191 GB, free: 1.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.1089, allocations: 1.972 MB / 0.521 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005861/0.1148, allocations: 2.066 MB / 0.523 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007815/0.1156, allocations: 0.6412 MB / 0.5236 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006809/0.1162, allocations: 212 kB / 0.5238 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005759/0.122, allocations: 2.579 MB / 0.5264 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.122, allocations: 0 / 0.5264 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.1223, allocations: 79.98 kB / 0.5264 GB, free: 9.543 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.1223, allocations: 48 kB / 0.5265 GB, free: 9.496 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/0.1278, allocations: 2.366 MB / 0.5288 GB, free: 7.109 MB / 458.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.01905/0.1468, allocations: 7.184 MB / 0.5358 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.1578, allocations: 3.479 MB / 0.5392 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00384/0.1617, allocations: 1.501 MB / 0.5407 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.1619, allocations: 49.98 kB / 0.5407 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004379/0.1663, allocations: 1.942 MB / 0.5426 GB, free: 8.758 MB / 474.7 MB Notification: Performance of pre-optimization done (n=251): time 5.01e-06/0.1663, allocations: 0 / 0.5426 GB, free: 8.758 MB / 474.7 MB Notification: Performance of matching and sorting (n=251): time 0.08474/0.251, allocations: 18.56 MB / 0.5607 GB, free: 6.105 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001945/0.2512, allocations: 239.6 kB / 0.561 GB, free: 5.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005198/0.2564, allocations: 2.574 MB / 0.5635 GB, free: 3.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00075/0.2572, allocations: 73.69 kB / 0.5635 GB, free: 3.152 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.2584, allocations: 1.195 MB / 0.5647 GB, free: 1.949 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001512/0.2599, allocations: 0.9218 MB / 0.5656 GB, free: 1.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.2612, allocations: 0.5778 MB / 0.5662 GB, free: 444 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2613, allocations: 305.1 kB / 0.5665 GB, free: 136 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003805/0.2651, allocations: 1.777 MB / 0.5682 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.2692, allocations: 2.108 MB / 0.5703 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04909/0.3183, allocations: 11.45 MB / 0.5814 GB, free: 412 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.3183, allocations: 7.938 kB / 0.5814 GB, free: 404 kB / 0.4948 GB Notification: Performance of matching and sorting (n=423) (initialization): time 0.02694/0.3452, allocations: 8.16 MB / 0.5894 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.3454, allocations: 181.7 kB / 0.5896 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.3454, allocations: 8 kB / 0.5896 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02288/0.3683, allocations: 4.388 MB / 0.5939 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/0.3722, allocations: 0.6163 MB / 0.5945 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2133/0.5854, allocations: 18.69 MB / 0.6127 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/0.5899, allocations: 422.8 kB / 0.6131 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005994/0.5905, allocations: 120 kB / 0.6133 GB, free: 154.7 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = \"1\" fixed = true ) \"d-axis transient voltage\" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" 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: 8 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (337): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(36,46), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001424/0.5919, allocations: 0.6101 MB / 0.6138 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.5929, allocations: 405.8 kB / 0.6142 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02418/0.6171, allocations: 7.574 MB / 0.6216 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.6171, allocations: 26.88 kB / 0.6217 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.6171, allocations: 7.812 kB / 0.6217 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.788e-05/0.6172, allocations: 10.36 kB / 0.6217 GB, free: 152.2 MB / 0.5105 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.02703/0.6442, allocations: 10.66 MB / 0.6321 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/0.6442, allocations: 0 / 0.6321 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.6457, allocations: 244.5 kB / 0.6323 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02179/0.6675, allocations: 5.08 MB / 0.6373 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00063/0.6681, allocations: 55.98 kB / 0.6373 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03895/0.7071, allocations: 20.67 MB / 0.6575 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7071, allocations: 4 kB / 0.6575 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02555/0.7326, allocations: 9.646 MB / 0.6669 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.7337, allocations: 392.8 kB / 0.6673 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/0.7342, allocations: 59.94 kB / 0.6674 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/0.7367, allocations: 235.7 kB / 0.6676 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/0.738, allocations: 407.2 kB / 0.668 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/0.7381, allocations: 75.97 kB / 0.6681 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002343/0.7405, allocations: 1.718 MB / 0.6697 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.7405, allocations: 0 / 0.6697 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003086/0.7436, allocations: 1.082 MB / 0.6708 GB, free: 109.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 25 (sTATCOM3_1.simpleLagLim.state,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: 8 ($whenCondition7,$whenCondition8,$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 (152): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(43,48), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003909/0.744, allocations: 187.8 kB / 0.671 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0115/0.7555, allocations: 5.561 MB / 0.6764 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.7555, allocations: 0 / 0.6764 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008539/0.764, allocations: 3.662 MB / 0.68 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.7666, allocations: 350.4 kB / 0.6803 GB, free: 99.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00967/0.7763, allocations: 5.78 MB / 0.686 GB, free: 94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.7773, allocations: 1.3 MB / 0.6872 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001299/0.7786, allocations: 271.1 kB / 0.6875 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/0.7793, allocations: 176.5 kB / 0.6877 GB, free: 92.22 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.7793, allocations: 0 / 0.6877 GB, free: 92.22 MB / 0.5105 GB Notification: Performance of Templates: time 0.1169/0.8961, allocations: 61.13 MB / 0.7473 GB, free: 31.41 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.200283827958629]