Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001765/0.001765, allocations: 81.17 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 1.034/1.034, allocations: 177.2 MB / 200.3 MB, free: 5.348 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.001391/0.001391, allocations: 164.6 kB / 256.9 MB, free: 12.8 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.2968/0.2968, allocations: 83.31 MB / 396.7 MB, free: 15.01 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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 494.5 MB, free: 6.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.796e-05, allocations: 5.344 kB / 494.5 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.02082/0.02085, allocations: 20.07 MB / 0.5025 GB, free: 2.777 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.03268, allocations: 4.922 MB / 0.5073 GB, free: 13.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.03555, allocations: 45.41 kB / 0.5073 GB, free: 13.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.03724, allocations: 0.8864 MB / 0.5082 GB, free: 12.95 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.0417, allocations: 2.416 MB / 0.5106 GB, free: 10.54 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.04499, allocations: 2.073 MB / 0.5126 GB, free: 8.469 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005542/0.05053, allocations: 5.94 MB / 0.5184 GB, free: 2.504 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.05177, allocations: 0.8649 MB / 0.5192 GB, free: 1.586 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.05556, allocations: 3.389 MB / 0.5225 GB, free: 14.18 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.05747, allocations: 2.332 MB / 0.5248 GB, free: 11.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005762/0.05805, allocations: 448 kB / 0.5252 GB, free: 11.41 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008369/0.05888, allocations: 0.6013 MB / 0.5258 GB, free: 10.8 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006011/0.05948, allocations: 1.201 MB / 0.527 GB, free: 9.598 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.06083, allocations: 1.744 MB / 0.5287 GB, free: 7.848 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003493/0.06433, allocations: 4.54 MB / 0.5331 GB, free: 3.289 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.06433, allocations: 4 kB / 0.5331 GB, free: 3.285 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.06433, allocations: 0 / 0.5331 GB, free: 3.285 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.081e-05/0.06437, allocations: 4 kB / 0.5332 GB, free: 3.281 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.01404/0.0784, allocations: 10.34 MB / 0.5432 GB, free: 8.848 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.07845, allocations: 12.03 kB / 0.5433 GB, free: 8.836 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.091, allocations: 4.8 MB / 0.5479 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.09393, allocations: 2.527 MB / 0.5504 GB, free: 1.414 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005477/0.09448, allocations: 1.017 MB / 0.5514 GB, free: 248 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/0.0949, allocations: 344.1 kB / 0.5517 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/0.09823, allocations: 2.819 MB / 0.5545 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.09827, allocations: 0 / 0.5545 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.09852, allocations: 144 kB / 0.5546 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.09857, allocations: 87.94 kB / 0.5547 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.1006, allocations: 1.599 MB / 0.5563 GB, free: 11.2 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.01467/0.1153, allocations: 11.79 MB / 0.5678 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.1188, allocations: 2.324 MB / 0.5701 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.1199, allocations: 0.9859 MB / 0.571 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.1202, allocations: 90.95 kB / 0.5711 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/0.1222, allocations: 1.65 MB / 0.5727 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=385): time 6.021e-06/0.1222, allocations: 4 kB / 0.5727 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.3317/0.4539, allocations: 54.17 MB / 0.6256 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4539, allocations: 149.3 kB / 0.6258 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.4561, allocations: 2.909 MB / 0.6286 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003371/0.4565, allocations: 88.83 kB / 0.6287 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.4575, allocations: 2.142 MB / 0.6308 GB, free: 144 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001107/0.4586, allocations: 1.406 MB / 0.6321 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008999/0.4595, allocations: 0.7189 MB / 0.6329 GB, free: 143 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.4596, allocations: 480.8 kB / 0.6333 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.461, allocations: 1.032 MB / 0.6343 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.4628, allocations: 1.869 MB / 0.6361 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004894/0.4677, allocations: 4.555 MB / 0.6406 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/0.4677, allocations: 4 kB / 0.6406 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=541) (initialization): time 0.01915/0.4869, allocations: 11.41 MB / 0.6517 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.4869, allocations: 63.41 kB / 0.6518 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.4869, allocations: 12 kB / 0.6518 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01819/0.5051, allocations: 7.531 MB / 0.6592 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.5071, allocations: 0.6709 MB / 0.6598 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/0.5295, allocations: 13.52 MB / 0.673 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/0.5327, allocations: 0.5365 MB / 0.6735 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/0.5329, allocations: 116 kB / 0.6737 GB, free: 104.7 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 (404): * Single equations (assignments): 401 * 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,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0009783/0.5339, allocations: 411.3 kB / 0.674 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000629/0.5345, allocations: 0.5907 MB / 0.6746 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/0.5519, allocations: 10.68 MB / 0.685 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.5519, allocations: 39.98 kB / 0.6851 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/0.5519, allocations: 28.77 kB / 0.6851 GB, free: 92.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.762e-05/0.5519, allocations: 19.94 kB / 0.6851 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02051/0.5724, allocations: 13.37 MB / 0.6982 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.5724, allocations: 0 / 0.6982 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.5735, allocations: 399.4 kB / 0.6986 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01786/0.5913, allocations: 7.528 MB / 0.7059 GB, free: 71.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004902/0.5918, allocations: 71.98 kB / 0.706 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/0.6126, allocations: 14.58 MB / 0.7202 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6126, allocations: 0 / 0.7202 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01991/0.6325, allocations: 11.7 MB / 0.7316 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.6336, allocations: 0.4999 MB / 0.7321 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.634, allocations: 71.98 kB / 0.7322 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.6356, allocations: 279.7 kB / 0.7325 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/0.6371, allocations: 0.7829 MB / 0.7332 GB, free: 43.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/0.6373, allocations: 71.97 kB / 0.7333 GB, free: 43.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009477/0.6382, allocations: 1.628 MB / 0.7349 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6382, allocations: 0 / 0.7349 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00324/0.6415, allocations: 1.817 MB / 0.7367 GB, free: 39.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003852/0.6419, allocations: 204.8 kB / 0.7369 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008488/0.6503, allocations: 5.814 MB / 0.7425 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6503, allocations: 0 / 0.7425 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006345/0.6567, allocations: 4.314 MB / 0.7468 GB, free: 29.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.6584, allocations: 455.9 kB / 0.7472 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/0.6664, allocations: 7.448 MB / 0.7545 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.6669, allocations: 0.8066 MB / 0.7552 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006984/0.6676, allocations: 375.1 kB / 0.7556 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/0.6684, allocations: 0.5011 MB / 0.7561 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/0.6684, allocations: 0 / 0.7561 GB, free: 19.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.283/0.9514, allocations: 107.4 MB / 0.8609 GB, free: 147.6 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.566742702852935]