Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.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.001746/0.001746, allocations: 85.48 kB / 19.44 MB, free: 344 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.554/1.554, 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.002135/0.002135, allocations: 164.5 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.5293/0.5293, allocations: 80.38 MB / 393.1 MB, free: 2.164 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.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 489.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.206e-05, allocations: 9.672 kB / 489.4 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02604/0.02607, allocations: 20.35 MB / 0.4978 GB, free: 7.316 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.0395, allocations: 4.867 MB / 0.5025 GB, free: 2.48 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004487/0.04399, allocations: 44.78 kB / 0.5026 GB, free: 2.438 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.04767, allocations: 0.8827 MB / 0.5034 GB, free: 1.547 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009928/0.0576, allocations: 2.349 MB / 0.5057 GB, free: 15.2 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006469/0.06407, allocations: 2.045 MB / 0.5077 GB, free: 13.16 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.07472, allocations: 5.846 MB / 0.5134 GB, free: 7.285 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.07752, allocations: 0.8727 MB / 0.5143 GB, free: 6.359 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008276/0.08579, allocations: 3.303 MB / 0.5175 GB, free: 3.047 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004987/0.09078, allocations: 2.289 MB / 0.5197 GB, free: 0.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001945/0.09272, allocations: 436 kB / 0.5202 GB, free: 332 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.09544, allocations: 0.5896 MB / 0.5207 GB, free: 15.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002237/0.09768, allocations: 1.178 MB / 0.5219 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004917/0.1026, allocations: 1.721 MB / 0.5236 GB, free: 12.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.1145, allocations: 6.368 MB / 0.5298 GB, free: 6.434 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1145, allocations: 0 / 0.5298 GB, free: 6.434 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1145, allocations: 0 / 0.5298 GB, free: 6.434 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002785/0.1148, allocations: 0 / 0.5298 GB, free: 6.434 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03742/0.1522, allocations: 10.74 MB / 0.5403 GB, free: 11.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1522, allocations: 8.031 kB / 0.5403 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02826/0.1805, allocations: 4.792 MB / 0.545 GB, free: 6.785 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00771/0.1882, allocations: 2.647 MB / 0.5475 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001257/0.1895, allocations: 1.029 MB / 0.5485 GB, free: 2.867 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.1908, allocations: 344 kB / 0.5489 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.2035, allocations: 4.78 MB / 0.5535 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.935e-05/0.2035, allocations: 0 / 0.5535 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004614/0.204, allocations: 140 kB / 0.5537 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.207e-05/0.2041, allocations: 87.94 kB / 0.5538 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.2163, allocations: 4.074 MB / 0.5577 GB, free: 9.402 MB / 490.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.04218/0.2585, allocations: 14.1 MB / 0.5715 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.2711, allocations: 3.945 MB / 0.5754 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006734/0.2779, allocations: 2.464 MB / 0.5778 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/0.2786, allocations: 82.89 kB / 0.5778 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008521/0.2871, allocations: 3.225 MB / 0.581 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=382): time 8.476e-06/0.2871, allocations: 4 kB / 0.581 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of matching and sorting (n=382): time 0.5054/0.7924, allocations: 61.36 MB / 0.6409 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/0.7925, allocations: 141.8 kB / 0.6411 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0052/0.7977, allocations: 3.836 MB / 0.6448 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001458/0.7992, allocations: 87.45 kB / 0.6449 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.8006, allocations: 2.222 MB / 0.6471 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001895/0.8025, allocations: 1.428 MB / 0.6484 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/0.8039, allocations: 0.7725 MB / 0.6492 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.804, allocations: 480.8 kB / 0.6497 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0049/0.8089, allocations: 2.475 MB / 0.6521 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005556/0.8145, allocations: 3.378 MB / 0.6554 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/0.8313, allocations: 9.378 MB / 0.6645 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.177e-05/0.8313, allocations: 4 kB / 0.6645 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=529) (initialization): time 0.04782/0.8792, allocations: 15.27 MB / 0.6795 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/0.8792, allocations: 67.39 kB / 0.6795 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/0.8792, allocations: 16 kB / 0.6795 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04316/0.9224, allocations: 9.304 MB / 0.6886 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/0.9258, allocations: 0.656 MB / 0.6893 GB, free: 90.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07702/1.003, allocations: 31.62 MB / 0.7201 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00658/1.009, allocations: 0.5344 MB / 0.7207 GB, free: 58.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.011, allocations: 148 kB / 0.7208 GB, free: 58.38 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002768/1.014, allocations: 0.7099 MB / 0.7215 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/1.015, allocations: 0.5907 MB / 0.7221 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04763/1.063, allocations: 15.03 MB / 0.7367 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/1.063, allocations: 40 kB / 0.7368 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.49e-05/1.063, allocations: 28 kB / 0.7368 GB, free: 41.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001043/1.063, allocations: 15.94 kB / 0.7368 GB, free: 41.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05589/1.119, allocations: 19.04 MB / 0.7554 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/1.119, allocations: 0 / 0.7554 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.121, allocations: 391.5 kB / 0.7558 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04375/1.165, allocations: 9.398 MB / 0.765 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001576/1.167, allocations: 71.98 kB / 0.765 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3063/1.473, allocations: 30.41 MB / 0.7947 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.473, allocations: 0 / 0.7947 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05654/1.53, allocations: 18.45 MB / 0.8127 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.531, allocations: 0.5052 MB / 0.8132 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/1.532, allocations: 62.31 kB / 0.8133 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004618/1.537, allocations: 288.5 kB / 0.8136 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003091/1.54, allocations: 0.8155 MB / 0.8144 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005868/1.541, allocations: 97.78 kB / 0.8145 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003576/1.544, allocations: 2.286 MB / 0.8167 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/1.544, allocations: 0 / 0.8167 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005759/1.55, allocations: 1.799 MB / 0.8185 GB, free: 154.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007702/1.551, allocations: 203.2 kB / 0.8186 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02308/1.574, allocations: 8.807 MB / 0.8272 GB, free: 152 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.574, allocations: 3.938 kB / 0.8273 GB, free: 152 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01763/1.592, allocations: 5.878 MB / 0.833 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/1.595, allocations: 484.8 kB / 0.8335 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.608, allocations: 8.016 MB / 0.8413 GB, free: 141.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/1.61, allocations: 1.936 MB / 0.8432 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001423/1.611, allocations: 372.7 kB / 0.8435 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/1.612, allocations: 258.9 kB / 0.8438 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.534e-06/1.612, allocations: 0 / 0.8438 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.1139/1.726, allocations: 103.1 MB / 0.9445 GB, free: 40.6 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.634222395019606]