Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001853/0.001853, allocations: 85.48 kB / 19.44 MB, free: 340 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.562/1.562, allocations: 177.1 MB / 199.7 MB, free: 5.809 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.00229/0.00229, allocations: 164.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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4884/0.4884, allocations: 80.36 MB / 393.1 MB, free: 2.148 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_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_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 0 / 489.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.549e-05/4.882e-05, allocations: 3.062 kB / 489.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom): time 0.01764/0.01769, allocations: 12.75 MB / 0.4902 GB, free: 15.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.02773, allocations: 3.695 MB / 0.4938 GB, free: 11.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.03092, allocations: 24 kB / 0.4938 GB, free: 11.39 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.03302, allocations: 0.5278 MB / 0.4943 GB, free: 10.86 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006138/0.03916, allocations: 1.65 MB / 0.4959 GB, free: 9.215 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.04303, allocations: 1.418 MB / 0.4973 GB, free: 7.812 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007751/0.05078, allocations: 4.189 MB / 0.5014 GB, free: 3.605 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.05225, allocations: 0.6259 MB / 0.502 GB, free: 2.922 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.05693, allocations: 2.328 MB / 0.5043 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.05968, allocations: 1.596 MB / 0.5059 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008423/0.06052, allocations: 380 kB / 0.5062 GB, free: 14.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.06165, allocations: 0.532 MB / 0.5067 GB, free: 14.09 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008964/0.06255, allocations: 0.8753 MB / 0.5076 GB, free: 13.21 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.06421, allocations: 1.184 MB / 0.5088 GB, free: 12.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007003/0.07122, allocations: 4.775 MB / 0.5134 GB, free: 7.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.07122, allocations: 0 / 0.5134 GB, free: 7.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.07123, allocations: 0 / 0.5134 GB, free: 7.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001035/0.07133, allocations: 4 kB / 0.5134 GB, free: 7.227 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.0226/0.09392, allocations: 8.234 MB / 0.5215 GB, free: 14.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.09398, allocations: 12.03 kB / 0.5215 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.1052, allocations: 1.992 MB / 0.5234 GB, free: 12.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005034/0.1103, allocations: 2.026 MB / 0.5254 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000721/0.111, allocations: 0.6334 MB / 0.526 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000522/0.1115, allocations: 215.9 kB / 0.5262 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00576/0.1173, allocations: 2.597 MB / 0.5288 GB, free: 7.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/0.1173, allocations: 0 / 0.5288 GB, free: 7.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.1175, allocations: 79.98 kB / 0.5288 GB, free: 7.082 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/0.1176, allocations: 48 kB / 0.5289 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004963/0.1225, allocations: 2.218 MB / 0.531 GB, free: 4.797 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.02085/0.1434, allocations: 8.078 MB / 0.5389 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008949/0.1523, allocations: 3.034 MB / 0.5419 GB, free: 9.535 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/0.1557, allocations: 1.461 MB / 0.5433 GB, free: 8.039 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.1559, allocations: 49.98 kB / 0.5434 GB, free: 7.988 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004008/0.1599, allocations: 1.971 MB / 0.5453 GB, free: 5.973 MB / 474.7 MB Notification: Performance of pre-optimization done (n=251): time 5.09e-06/0.1599, allocations: 0 / 0.5453 GB, free: 5.973 MB / 474.7 MB Notification: Performance of matching and sorting (n=251): time 0.07794/0.2379, allocations: 16.76 MB / 0.5617 GB, free: 5.105 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/0.238, allocations: 231.6 kB / 0.5619 GB, free: 4.828 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005194/0.2432, allocations: 3.059 MB / 0.5649 GB, free: 1.738 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006917/0.2439, allocations: 81.69 kB / 0.565 GB, free: 1.652 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.2454, allocations: 1.397 MB / 0.5663 GB, free: 252 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/0.247, allocations: 1 MB / 0.5673 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.2483, allocations: 0.7335 MB / 0.568 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002358/0.2485, allocations: 476.8 kB / 0.5685 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003492/0.252, allocations: 1.653 MB / 0.5701 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003923/0.256, allocations: 2.163 MB / 0.5722 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.2671, allocations: 5.981 MB / 0.578 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.2671, allocations: 3.75 kB / 0.578 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=423) (initialization): time 0.02313/0.2902, allocations: 7.517 MB / 0.5854 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.2905, allocations: 174.2 kB / 0.5855 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.2905, allocations: 4 kB / 0.5855 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01939/0.3099, allocations: 3.897 MB / 0.5894 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/0.3137, allocations: 0.6202 MB / 0.59 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2986/0.6124, allocations: 19.72 MB / 0.6092 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/0.6166, allocations: 351.2 kB / 0.6095 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.617, allocations: 117 kB / 0.6097 GB, free: 154.3 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.001435/0.6184, allocations: 0.6412 MB / 0.6103 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009164/0.6194, allocations: 410 kB / 0.6107 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02307/0.6424, allocations: 6.869 MB / 0.6174 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/0.6425, allocations: 27.53 kB / 0.6174 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6425, allocations: 0 / 0.6174 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-05/0.6426, allocations: 12.7 kB / 0.6174 GB, free: 151.9 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.02714/0.6697, allocations: 10.67 MB / 0.6278 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/0.6697, allocations: 0 / 0.6278 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.6712, allocations: 241 kB / 0.6281 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0195/0.6907, allocations: 4.537 MB / 0.6325 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000892/0.6916, allocations: 58.75 kB / 0.6326 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03914/0.7307, allocations: 22.28 MB / 0.6543 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7307, allocations: 5.797 kB / 0.6543 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02237/0.7531, allocations: 8.908 MB / 0.663 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.7544, allocations: 392.2 kB / 0.6634 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006456/0.755, allocations: 56 kB / 0.6635 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/0.7573, allocations: 166.7 kB / 0.6636 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/0.7585, allocations: 422.2 kB / 0.664 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/0.7587, allocations: 72.53 kB / 0.6641 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002445/0.7611, allocations: 1.855 MB / 0.6659 GB, free: 113 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.7611, allocations: 0 / 0.6659 GB, free: 113 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00409/0.7652, allocations: 1.065 MB / 0.6669 GB, free: 112 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.0004862/0.7657, allocations: 189.3 kB / 0.6671 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01113/0.7768, allocations: 5.721 MB / 0.6727 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.7768, allocations: 3.938 kB / 0.6727 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008181/0.785, allocations: 3.819 MB / 0.6764 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.7877, allocations: 345.5 kB / 0.6768 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009795/0.7975, allocations: 5.741 MB / 0.6824 GB, free: 95.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.7986, allocations: 1.287 MB / 0.6836 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00134/0.7999, allocations: 263.1 kB / 0.6839 GB, free: 94.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.8005, allocations: 176.5 kB / 0.684 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.994e-06/0.8005, allocations: 0 / 0.684 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.08932/0.8898, allocations: 63.1 MB / 0.7457 GB, free: 31.21 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.762583447969519]