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.0009635/0.0009635, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 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.04/1.04, allocations: 177.1 MB / 201 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.001289/0.001289, allocations: 148.7 kB / 257.7 MB, free: 12.98 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.2823/0.2823, allocations: 80.25 MB / 394.5 MB, free: 1.992 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 1.573e-06/1.573e-06, allocations: 0 / 491 MB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.629e-05, allocations: 2.312 kB / 491 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.0107/0.01072, allocations: 12.55 MB / 0.4918 GB, free: 14.7 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008104/0.01883, allocations: 3.694 MB / 0.4954 GB, free: 11.02 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.02144, allocations: 28.5 kB / 0.4954 GB, free: 10.99 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.02314, allocations: 0.5307 MB / 0.4959 GB, free: 10.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004625/0.02777, allocations: 1.658 MB / 0.4975 GB, free: 8.805 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.03064, allocations: 1.415 MB / 0.4989 GB, free: 7.406 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00598/0.03662, allocations: 4.197 MB / 0.503 GB, free: 3.188 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.03802, allocations: 0.6259 MB / 0.5036 GB, free: 2.508 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004262/0.04228, allocations: 2.338 MB / 0.5059 GB, free: 168 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.04482, allocations: 1.601 MB / 0.5075 GB, free: 14.56 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008646/0.04569, allocations: 376.5 kB / 0.5078 GB, free: 14.19 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.04674, allocations: 0.531 MB / 0.5083 GB, free: 13.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006294/0.04737, allocations: 0.8762 MB / 0.5092 GB, free: 12.78 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.04902, allocations: 1.184 MB / 0.5104 GB, free: 11.59 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004/0.05302, allocations: 2.935 MB / 0.5132 GB, free: 8.648 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.05303, allocations: 3.938 kB / 0.5132 GB, free: 8.645 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.05303, allocations: 1.031 kB / 0.5132 GB, free: 8.645 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.332e-05/0.05308, allocations: 0 / 0.5132 GB, free: 8.645 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.01355/0.06664, allocations: 7.226 MB / 0.5203 GB, free: 1.281 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.06668, allocations: 8.031 kB / 0.5203 GB, free: 1.273 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008522/0.07521, allocations: 1.996 MB / 0.5222 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.07866, allocations: 1.835 MB / 0.524 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004436/0.0791, allocations: 0.6412 MB / 0.5247 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005588/0.07966, allocations: 208 kB / 0.5249 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.0822, allocations: 1.573 MB / 0.5264 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.08223, allocations: 4 kB / 0.5264 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.08241, allocations: 76 kB / 0.5265 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.08245, allocations: 51.94 kB / 0.5265 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.08403, allocations: 0.9114 MB / 0.5274 GB, free: 9.742 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.01119/0.09523, allocations: 6.22 MB / 0.5335 GB, free: 3.422 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00425/0.09948, allocations: 2.113 MB / 0.5355 GB, free: 1.266 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008183/0.1003, allocations: 0.6995 MB / 0.5362 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.1005, allocations: 46 kB / 0.5363 GB, free: 496 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.1017, allocations: 1.137 MB / 0.5374 GB, free: 15.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=251): time 6.352e-06/0.1017, allocations: 0 / 0.5374 GB, free: 15.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=251): time 0.03757/0.1393, allocations: 14.06 MB / 0.5511 GB, free: 1.148 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.1394, allocations: 239.6 kB / 0.5513 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/0.1419, allocations: 2.113 MB / 0.5534 GB, free: 14.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004961/0.1424, allocations: 73.7 kB / 0.5535 GB, free: 14.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008149/0.1432, allocations: 1.283 MB / 0.5547 GB, free: 13.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009542/0.1442, allocations: 0.9372 MB / 0.5556 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008359/0.145, allocations: 0.6198 MB / 0.5562 GB, free: 11.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002781/0.1453, allocations: 480.8 kB / 0.5567 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.1465, allocations: 0.8247 MB / 0.5575 GB, free: 10.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.1479, allocations: 1.241 MB / 0.5587 GB, free: 9.059 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/0.1517, allocations: 3.143 MB / 0.5618 GB, free: 5.691 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.1517, allocations: 0 / 0.5618 GB, free: 5.691 MB / 490.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01018/0.1619, allocations: 5.408 MB / 0.5671 GB, free: 168 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.162, allocations: 178.1 kB / 0.5672 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.162, allocations: 4 kB / 0.5672 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00897/0.171, allocations: 3.174 MB / 0.5703 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/0.1732, allocations: 0.6163 MB / 0.5709 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.1912, allocations: 12.09 MB / 0.5828 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/0.1943, allocations: 338.2 kB / 0.5831 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/0.1947, allocations: 91.95 kB / 0.5832 GB, free: 15.29 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.001153/0.1958, allocations: 426.9 kB / 0.5836 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000837/0.1967, allocations: 401.9 kB / 0.584 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009569/0.2062, allocations: 4.873 MB / 0.5887 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/0.2063, allocations: 28 kB / 0.5887 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2063, allocations: 0 / 0.5887 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.019e-05/0.2063, allocations: 11.95 kB / 0.5888 GB, free: 9.418 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.01419/0.2205, allocations: 7.532 MB / 0.5961 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.2205, allocations: 4 kB / 0.5961 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009412/0.2214, allocations: 239.7 kB / 0.5963 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2591/0.4805, allocations: 3.747 MB / 0.6 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006799/0.4812, allocations: 64.34 kB / 0.6001 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/0.4989, allocations: 14.42 MB / 0.6141 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4989, allocations: 0 / 0.6141 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.5127, allocations: 5.676 MB / 0.6197 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.5139, allocations: 391.7 kB / 0.6201 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006682/0.5146, allocations: 52.25 kB / 0.6201 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.516, allocations: 157.3 kB / 0.6203 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001324/0.5173, allocations: 401.3 kB / 0.6206 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.5175, allocations: 56.88 kB / 0.6207 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001511/0.519, allocations: 1.209 MB / 0.6219 GB, free: 133 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/0.519, allocations: 0 / 0.6219 GB, free: 133 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003643/0.5226, allocations: 1.064 MB / 0.6229 GB, free: 133 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.000502/0.5231, allocations: 186.8 kB / 0.6231 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006458/0.5296, allocations: 4.032 MB / 0.627 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.5296, allocations: 2.469 kB / 0.627 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004951/0.5345, allocations: 3.012 MB / 0.63 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.5365, allocations: 327.2 kB / 0.6303 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007932/0.5444, allocations: 5.24 MB / 0.6354 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.545, allocations: 0.5482 MB / 0.6359 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008542/0.5459, allocations: 256.1 kB / 0.6362 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006897/0.5466, allocations: 388.5 kB / 0.6365 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.876e-06/0.5466, allocations: 4 kB / 0.6366 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.06691/0.6135, allocations: 67.55 MB / 0.7025 GB, free: 68.61 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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.96680630883202]