Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001516/0.001516, allocations: 92.7 kB / 19.44 MB, free: 324 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.578/1.578, allocations: 177.1 MB / 199.7 MB, free: 5.789 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.001955/0.001955, allocations: 160.7 kB / 256.3 MB, free: 13.14 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.4648/0.4648, allocations: 80.26 MB / 393 MB, free: 2.203 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.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 489.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.52e-05, allocations: 2.312 kB / 489.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02344/0.02348, allocations: 18.56 MB / 0.4959 GB, free: 9.211 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.03782, allocations: 4.868 MB / 0.5006 GB, free: 4.379 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00556/0.04338, allocations: 47.94 kB / 0.5007 GB, free: 4.332 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.04714, allocations: 0.8828 MB / 0.5015 GB, free: 3.438 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.06057, allocations: 2.369 MB / 0.5038 GB, free: 1.066 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007949/0.06852, allocations: 2.04 MB / 0.5058 GB, free: 15.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.08084, allocations: 5.913 MB / 0.5116 GB, free: 9.086 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003517/0.08436, allocations: 0.8766 MB / 0.5125 GB, free: 8.156 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0099/0.09426, allocations: 3.327 MB / 0.5157 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005531/0.09979, allocations: 2.289 MB / 0.518 GB, free: 2.523 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002361/0.1022, allocations: 444 kB / 0.5184 GB, free: 2.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.1054, allocations: 0.6091 MB / 0.519 GB, free: 1.48 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002551/0.108, allocations: 1.182 MB / 0.5201 GB, free: 300 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005258/0.1132, allocations: 1.729 MB / 0.5218 GB, free: 14.56 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.1264, allocations: 6.391 MB / 0.5281 GB, free: 8.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1264, allocations: 0 / 0.5281 GB, free: 8.145 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1264, allocations: 0 / 0.5281 GB, free: 8.145 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003462/0.1267, allocations: 0 / 0.5281 GB, free: 8.145 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03841/0.1651, allocations: 9.912 MB / 0.5377 GB, free: 14.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1652, allocations: 8.031 kB / 0.5377 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0298/0.195, allocations: 4.729 MB / 0.5424 GB, free: 9.398 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008582/0.2036, allocations: 2.676 MB / 0.545 GB, free: 6.637 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001584/0.2052, allocations: 1.033 MB / 0.546 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.207, allocations: 352 kB / 0.5463 GB, free: 5.105 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.2232, allocations: 4.768 MB / 0.551 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.2233, allocations: 0 / 0.551 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/0.2246, allocations: 144 kB / 0.5511 GB, free: 164 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.2247, allocations: 91.88 kB / 0.5512 GB, free: 72 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.2374, allocations: 4.253 MB / 0.5554 GB, free: 11.8 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.04287/0.2802, allocations: 13.18 MB / 0.5682 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/0.295, allocations: 4.374 MB / 0.5725 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007231/0.3022, allocations: 2.522 MB / 0.575 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007994/0.303, allocations: 82.97 kB / 0.575 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009314/0.3123, allocations: 3.21 MB / 0.5782 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=384): time 1.095e-05/0.3123, allocations: 0 / 0.5782 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.5517/0.8641, allocations: 67.71 MB / 0.6443 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.8641, allocations: 141.8 kB / 0.6444 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004001/0.8681, allocations: 3.248 MB / 0.6476 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/0.8692, allocations: 93.7 kB / 0.6477 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.8704, allocations: 2.006 MB / 0.6496 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001861/0.8722, allocations: 1.372 MB / 0.651 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.8736, allocations: 0.6627 MB / 0.6516 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.8737, allocations: 305.2 kB / 0.6519 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005012/0.8787, allocations: 2.647 MB / 0.6545 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005523/0.8842, allocations: 3.271 MB / 0.6577 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06968/0.9539, allocations: 19.18 MB / 0.6764 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.305e-05/0.9539, allocations: 4 kB / 0.6764 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.06004/1.014, allocations: 17.39 MB / 0.6934 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/1.014, allocations: 67.41 kB / 0.6935 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.481e-05/1.014, allocations: 12 kB / 0.6935 GB, free: 87.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04948/1.064, allocations: 10.59 MB / 0.7038 GB, free: 76.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003985/1.068, allocations: 0.6826 MB / 0.7045 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08084/1.148, allocations: 32.46 MB / 0.7362 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005984/1.154, allocations: 0.624 MB / 0.7368 GB, free: 42.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007383/1.155, allocations: 156 kB / 0.737 GB, free: 42.72 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (400): * Single equations (assignments): 397 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001809/1.157, allocations: 0.6692 MB / 0.7376 GB, free: 42.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.158, allocations: 0.5876 MB / 0.7382 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05245/1.211, allocations: 16.77 MB / 0.7546 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/1.211, allocations: 36 kB / 0.7546 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.53e-05/1.211, allocations: 31.44 kB / 0.7546 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/1.211, allocations: 23.86 kB / 0.7547 GB, free: 24.54 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.05675/1.268, allocations: 20.05 MB / 0.7742 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/1.268, allocations: 0 / 0.7742 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002346/1.27, allocations: 395.5 kB / 0.7746 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05166/1.322, allocations: 10.84 MB / 0.7852 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/1.323, allocations: 71.98 kB / 0.7853 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3135/1.636, allocations: 30.82 MB / 0.8154 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.636, allocations: 4.188 kB / 0.8154 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06338/1.7, allocations: 20.32 MB / 0.8352 GB, free: 151 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/1.702, allocations: 0.5034 MB / 0.8357 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00225/1.704, allocations: 67.88 kB / 0.8358 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005541/1.71, allocations: 381.8 kB / 0.8361 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003572/1.713, allocations: 0.8132 MB / 0.8369 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004442/1.714, allocations: 98.3 kB / 0.837 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003116/1.717, allocations: 2.115 MB / 0.8391 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.717, allocations: 4 kB / 0.8391 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006571/1.723, allocations: 1.813 MB / 0.8409 GB, free: 147.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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.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.0005863/1.724, allocations: 199.4 kB / 0.8411 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02397/1.748, allocations: 8.859 MB / 0.8497 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.748, allocations: 1.094 kB / 0.8497 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01945/1.767, allocations: 5.929 MB / 0.8555 GB, free: 135 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/1.771, allocations: 484.3 kB / 0.856 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.786, allocations: 8.13 MB / 0.8639 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/1.788, allocations: 1.944 MB / 0.8658 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001729/1.789, allocations: 375.1 kB / 0.8661 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/1.79, allocations: 260.4 kB / 0.8664 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/1.79, allocations: 0 / 0.8664 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.1207/1.911, allocations: 97.62 MB / 0.9617 GB, free: 27.05 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.931003283010796]