Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001124/0.001124, allocations: 81.95 kB / 19.87 MB, free: 4.621 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 0.996/0.996, allocations: 177.1 MB / 200.3 MB, free: 5.715 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.001198/0.001198, allocations: 156.5 kB / 256.9 MB, free: 12.99 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.3087/0.3087, allocations: 83.3 MB / 396.7 MB, free: 15.02 MB / 330.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 494.4 MB, free: 7.012 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.474e-05, allocations: 8.703 kB / 494.4 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01194/0.01197, allocations: 12.43 MB / 0.495 GB, free: 10.53 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00814/0.02011, allocations: 3.477 MB / 0.4984 GB, free: 7.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.0215, allocations: 28 kB / 0.4984 GB, free: 7.043 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000997/0.02249, allocations: 0.5619 MB / 0.4989 GB, free: 6.477 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.02529, allocations: 1.616 MB / 0.5005 GB, free: 4.867 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.02735, allocations: 1.525 MB / 0.502 GB, free: 3.375 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.0303, allocations: 3.735 MB / 0.5057 GB, free: 15.62 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/0.03094, allocations: 0.5815 MB / 0.5062 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.03254, allocations: 2.14 MB / 0.5083 GB, free: 12.84 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.03377, allocations: 1.57 MB / 0.5098 GB, free: 11.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.03404, allocations: 292 kB / 0.5101 GB, free: 10.98 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005841/0.03463, allocations: 447.8 kB / 0.5105 GB, free: 10.55 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.03505, allocations: 0.7816 MB / 0.5113 GB, free: 9.762 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.03578, allocations: 1.082 MB / 0.5124 GB, free: 8.676 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002166/0.03795, allocations: 2.883 MB / 0.5152 GB, free: 5.781 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.03795, allocations: 0 / 0.5152 GB, free: 5.781 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.03796, allocations: 7.984 kB / 0.5152 GB, free: 5.773 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.03798, allocations: 0 / 0.5152 GB, free: 5.773 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01152/0.0495, allocations: 7.654 MB / 0.5227 GB, free: 14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.04955, allocations: 8.031 kB / 0.5227 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007405/0.05695, allocations: 2.725 MB / 0.5253 GB, free: 11.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.05887, allocations: 1.703 MB / 0.527 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/0.05935, allocations: 0.8178 MB / 0.5278 GB, free: 8.535 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.05962, allocations: 223.9 kB / 0.528 GB, free: 8.316 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.06169, allocations: 1.788 MB / 0.5298 GB, free: 6.434 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.06172, allocations: 0 / 0.5298 GB, free: 6.434 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.06189, allocations: 88 kB / 0.5298 GB, free: 6.348 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.06192, allocations: 48 kB / 0.5299 GB, free: 6.301 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.06333, allocations: 1.054 MB / 0.5309 GB, free: 5.191 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.008127/0.07146, allocations: 6.589 MB / 0.5374 GB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.07456, allocations: 1.948 MB / 0.5393 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007997/0.07536, allocations: 0.7393 MB / 0.54 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.07554, allocations: 57.98 kB / 0.54 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.07674, allocations: 1.18 MB / 0.5412 GB, free: 10.42 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 4.459e-06/0.07674, allocations: 0 / 0.5412 GB, free: 10.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.05742/0.1342, allocations: 21.7 MB / 0.5624 GB, free: 4.633 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1343, allocations: 180.2 kB / 0.5625 GB, free: 4.418 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.1365, allocations: 1.972 MB / 0.5645 GB, free: 2.434 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.1367, allocations: 73.7 kB / 0.5645 GB, free: 2.355 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008583/0.1376, allocations: 1.289 MB / 0.5658 GB, free: 1.055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008038/0.1384, allocations: 0.914 MB / 0.5667 GB, free: 136 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009357/0.1393, allocations: 0.5805 MB / 0.5673 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1395, allocations: 480.7 kB / 0.5677 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.141, allocations: 0.8757 MB / 0.5686 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.1428, allocations: 1.343 MB / 0.5699 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005004/0.1478, allocations: 3.47 MB / 0.5733 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.1478, allocations: 8 kB / 0.5733 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.02786/0.1757, allocations: 8.246 MB / 0.5813 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-05/0.1757, allocations: 122.8 kB / 0.5815 GB, free: 484 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.1758, allocations: 4 kB / 0.5815 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03195/0.2077, allocations: 5.36 MB / 0.5867 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005126/0.2128, allocations: 0.55 MB / 0.5872 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02855/0.2414, allocations: 9.323 MB / 0.5963 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/0.2442, allocations: 406.1 kB / 0.5967 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.2445, allocations: 91.95 kB / 0.5968 GB, free: 0.6211 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009391/0.2454, allocations: 375.4 kB / 0.5972 GB, free: 244 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2053/0.4507, allocations: 376.6 kB / 0.5975 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/0.466, allocations: 7.462 MB / 0.6048 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.466, allocations: 25.75 kB / 0.6048 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/0.466, allocations: 16.97 kB / 0.6049 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.049e-05/0.4661, allocations: 14.83 kB / 0.6049 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/0.4872, allocations: 9.5 MB / 0.6141 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/0.4873, allocations: 0 / 0.6141 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.4885, allocations: 245.8 kB / 0.6144 GB, free: 151 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01507/0.5036, allocations: 5.254 MB / 0.6195 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000674/0.5043, allocations: 50.06 kB / 0.6196 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.5218, allocations: 13.03 MB / 0.6323 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5218, allocations: 3.938 kB / 0.6323 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/0.5373, allocations: 8.239 MB / 0.6403 GB, free: 138 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009842/0.5383, allocations: 341.3 kB / 0.6407 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.5387, allocations: 47.98 kB / 0.6407 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.54, allocations: 219.8 kB / 0.6409 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001322/0.5413, allocations: 0.576 MB / 0.6415 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.5415, allocations: 51.42 kB / 0.6415 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009797/0.5424, allocations: 1.116 MB / 0.6426 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5424, allocations: 3.938 kB / 0.6426 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002812/0.5453, allocations: 1.169 MB / 0.6438 GB, free: 134.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * 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 {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004704/0.5457, allocations: 179.1 kB / 0.6439 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006908/0.5526, allocations: 4.258 MB / 0.6481 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.5526, allocations: 0 / 0.6481 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005271/0.5579, allocations: 3.176 MB / 0.6512 GB, free: 127 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.5597, allocations: 300.1 kB / 0.6515 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/0.5669, allocations: 4.856 MB / 0.6562 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/0.5676, allocations: 0.536 MB / 0.6567 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009669/0.5686, allocations: 254.2 kB / 0.657 GB, free: 121 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/0.5692, allocations: 382.1 kB / 0.6573 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.845e-06/0.5692, allocations: 0 / 0.6573 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.07929/0.6485, allocations: 75.83 MB / 0.7314 GB, free: 45.26 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.464887267909944]