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.002002/0.002002, 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.635/1.635, allocations: 177.1 MB / 199.7 MB, free: 5.828 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.002276/0.002276, allocations: 164.6 kB / 256.3 MB, free: 13.18 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.4965/0.4965, allocations: 80.25 MB / 393 MB, free: 2.242 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 2.204e-06/2.204e-06, allocations: 0 / 489.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.939e-05/4.16e-05, allocations: 2.312 kB / 489.2 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02645/0.02649, allocations: 20.53 MB / 0.4978 GB, free: 7.219 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.04174, allocations: 4.9 MB / 0.5026 GB, free: 2.352 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008211/0.04995, allocations: 44 kB / 0.5026 GB, free: 2.309 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.05373, allocations: 0.8826 MB / 0.5035 GB, free: 1.418 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.06413, allocations: 2.371 MB / 0.5058 GB, free: 15.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006856/0.07099, allocations: 2.054 MB / 0.5078 GB, free: 13 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01228/0.08327, allocations: 5.909 MB / 0.5136 GB, free: 7.062 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003534/0.08681, allocations: 0.8649 MB / 0.5144 GB, free: 6.145 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009814/0.09662, allocations: 3.35 MB / 0.5177 GB, free: 2.785 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005662/0.1023, allocations: 2.313 MB / 0.5199 GB, free: 476 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002606/0.1049, allocations: 444 kB / 0.5204 GB, free: 32 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.1082, allocations: 0.6091 MB / 0.521 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.1109, allocations: 1.182 MB / 0.5221 GB, free: 14.23 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005019/0.1159, allocations: 1.74 MB / 0.5238 GB, free: 12.49 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.1282, allocations: 6.415 MB / 0.5301 GB, free: 6.051 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1283, allocations: 0 / 0.5301 GB, free: 6.051 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1283, allocations: 0 / 0.5301 GB, free: 6.051 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003184/0.1286, allocations: 0 / 0.5301 GB, free: 6.051 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.03765/0.1662, allocations: 10.8 MB / 0.5406 GB, free: 11.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1663, allocations: 8.031 kB / 0.5406 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02768/0.194, allocations: 4.796 MB / 0.5453 GB, free: 6.336 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007487/0.2014, allocations: 2.683 MB / 0.5479 GB, free: 3.566 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/0.2027, allocations: 1.021 MB / 0.5489 GB, free: 2.391 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.2044, allocations: 352 kB / 0.5493 GB, free: 2.047 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.2161, allocations: 4.792 MB / 0.554 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-05/0.2162, allocations: 0 / 0.554 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/0.2166, allocations: 144 kB / 0.5541 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.599e-05/0.2167, allocations: 87.94 kB / 0.5542 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.2276, allocations: 4.086 MB / 0.5582 GB, free: 8.887 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.0451/0.2727, allocations: 14.15 MB / 0.572 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.2856, allocations: 3.954 MB / 0.5758 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006785/0.2924, allocations: 2.476 MB / 0.5783 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/0.2932, allocations: 78.97 kB / 0.5783 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008454/0.3016, allocations: 3.241 MB / 0.5815 GB, free: 464 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=384): time 8.907e-06/0.3016, allocations: 4 kB / 0.5815 GB, free: 460 kB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.6952/0.9968, allocations: 60.96 MB / 0.641 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.9969, allocations: 149.9 kB / 0.6412 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005746/1.003, allocations: 3.862 MB / 0.645 GB, free: 136 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.004, allocations: 91.64 kB / 0.645 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.005, allocations: 2.223 MB / 0.6472 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002115/1.007, allocations: 1.447 MB / 0.6486 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/1.009, allocations: 0.7845 MB / 0.6494 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.009, allocations: 476.8 kB / 0.6499 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004828/1.013, allocations: 2.503 MB / 0.6523 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005581/1.019, allocations: 3.399 MB / 0.6556 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01673/1.036, allocations: 9.629 MB / 0.665 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/1.036, allocations: 4.875 kB / 0.665 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.05005/1.086, allocations: 15.63 MB / 0.6803 GB, free: 99.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/1.086, allocations: 63.41 kB / 0.6803 GB, free: 99.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-05/1.086, allocations: 16 kB / 0.6804 GB, free: 99.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0423/1.128, allocations: 9.141 MB / 0.6893 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/1.132, allocations: 0.6904 MB / 0.69 GB, free: 89.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07236/1.204, allocations: 31.2 MB / 0.7204 GB, free: 58.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006172/1.211, allocations: 0.5398 MB / 0.721 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000841/1.211, allocations: 152 kB / 0.7211 GB, free: 57.96 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 (402): * Single equations (assignments): 399 * 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.002029/1.213, allocations: 0.7119 MB / 0.7218 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/1.215, allocations: 0.5907 MB / 0.7224 GB, free: 56.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04616/1.261, allocations: 15.06 MB / 0.7371 GB, free: 41.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-05/1.261, allocations: 37.2 kB / 0.7371 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.966e-05/1.261, allocations: 28 kB / 0.7371 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/1.261, allocations: 19.94 kB / 0.7372 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05439/1.316, allocations: 19.08 MB / 0.7558 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/1.316, allocations: 0 / 0.7558 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/1.318, allocations: 391.5 kB / 0.7562 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04344/1.362, allocations: 9.392 MB / 0.7653 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001548/1.363, allocations: 75.97 kB / 0.7654 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3725/1.736, allocations: 30.38 MB / 0.7951 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/1.736, allocations: 1.031 kB / 0.7951 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0579/1.794, allocations: 18.5 MB / 0.8132 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.795, allocations: 0.5074 MB / 0.8137 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/1.796, allocations: 64.94 kB / 0.8137 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004743/1.801, allocations: 285.2 kB / 0.814 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003291/1.805, allocations: 0.8243 MB / 0.8148 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004919/1.805, allocations: 92.84 kB / 0.8149 GB, free: 154 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00345/1.808, allocations: 2.311 MB / 0.8171 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.808, allocations: 0 / 0.8171 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006262/1.815, allocations: 1.813 MB / 0.8189 GB, free: 153.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.0007774/1.815, allocations: 201 kB / 0.8191 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02275/1.838, allocations: 8.725 MB / 0.8276 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.838, allocations: 0 / 0.8276 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01788/1.856, allocations: 5.891 MB / 0.8334 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/1.86, allocations: 484.4 kB / 0.8338 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.873, allocations: 8.153 MB / 0.8418 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/1.875, allocations: 1.938 MB / 0.8437 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001541/1.877, allocations: 371.9 kB / 0.844 GB, free: 139 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008784/1.878, allocations: 258.9 kB / 0.8443 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.295e-06/1.878, allocations: 0 / 0.8443 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.1201/1.998, allocations: 102.5 MB / 0.9444 GB, free: 40.52 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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.14347353100311]