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.0009459/0.0009459, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.9218/0.9218, allocations: 177.2 MB / 200.3 MB, free: 5.688 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.001398/0.001398, allocations: 158.8 kB / 256.9 MB, free: 12.97 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.2957/0.2957, allocations: 83.3 MB / 396.7 MB, free: 48 kB / 362.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 1.743e-06/1.743e-06, allocations: 0 / 494.5 MB, free: 58.45 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.706e-05, allocations: 2.312 kB / 494.5 MB, free: 58.45 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.0132/0.01321, allocations: 19.84 MB / 0.5023 GB, free: 38.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.02573, allocations: 4.864 MB / 0.507 GB, free: 33.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004243/0.02998, allocations: 44 kB / 0.5071 GB, free: 33.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.03206, allocations: 0.8905 MB / 0.5079 GB, free: 32.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.03733, allocations: 2.392 MB / 0.5103 GB, free: 30.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.04068, allocations: 2.041 MB / 0.5123 GB, free: 28.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004387/0.04506, allocations: 5.858 MB / 0.518 GB, free: 22.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.0461, allocations: 0.8649 MB / 0.5188 GB, free: 21.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.04879, allocations: 3.344 MB / 0.5221 GB, free: 18.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.05013, allocations: 2.293 MB / 0.5243 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003488/0.05048, allocations: 436.9 kB / 0.5247 GB, free: 15.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007361/0.05121, allocations: 0.5974 MB / 0.5253 GB, free: 14.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004779/0.05169, allocations: 1.175 MB / 0.5265 GB, free: 13.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00083/0.05252, allocations: 1.725 MB / 0.5282 GB, free: 12.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.05517, allocations: 4.489 MB / 0.5325 GB, free: 7.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.05517, allocations: 1 kB / 0.5325 GB, free: 7.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.05518, allocations: 0 / 0.5325 GB, free: 7.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.211e-05/0.05521, allocations: 1.812 kB / 0.5325 GB, free: 7.5 MB / 410.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.0132/0.0684, allocations: 10.24 MB / 0.5425 GB, free: 13.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.06844, allocations: 8.031 kB / 0.5425 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.08114, allocations: 4.796 MB / 0.5472 GB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/0.08404, allocations: 2.492 MB / 0.5497 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005508/0.08459, allocations: 1.017 MB / 0.5507 GB, free: 4.605 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003985/0.08499, allocations: 348 kB / 0.551 GB, free: 4.266 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/0.08832, allocations: 2.807 MB / 0.5537 GB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.08836, allocations: 0 / 0.5537 GB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.08862, allocations: 140 kB / 0.5539 GB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.08867, allocations: 87.94 kB / 0.5539 GB, free: 1.191 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.09082, allocations: 1.595 MB / 0.5555 GB, free: 15.58 MB / 442.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.01589/0.1067, allocations: 11.72 MB / 0.567 GB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/0.1113, allocations: 2.308 MB / 0.5692 GB, free: 1.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.1127, allocations: 0.9741 MB / 0.5702 GB, free: 116 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.113, allocations: 90.94 kB / 0.5702 GB, free: 24 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002163/0.1152, allocations: 1.639 MB / 0.5718 GB, free: 14.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=382): time 6.732e-06/0.1152, allocations: 0 / 0.5718 GB, free: 14.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=382): time 0.3659/0.4811, allocations: 55.47 MB / 0.626 GB, free: 133.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.4812, allocations: 147.5 kB / 0.6262 GB, free: 133.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.4844, allocations: 2.877 MB / 0.629 GB, free: 132.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009305/0.4853, allocations: 90.36 kB / 0.6291 GB, free: 132.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.4864, allocations: 2.14 MB / 0.6311 GB, free: 132.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/0.4878, allocations: 1.385 MB / 0.6325 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009192/0.4887, allocations: 0.7046 MB / 0.6332 GB, free: 131.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.4888, allocations: 482.9 kB / 0.6336 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.4903, allocations: 1.015 MB / 0.6346 GB, free: 131 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.492, allocations: 1.85 MB / 0.6364 GB, free: 130.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/0.4968, allocations: 4.494 MB / 0.6408 GB, free: 126.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/0.4968, allocations: 4 kB / 0.6408 GB, free: 126.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01927/0.5161, allocations: 11.29 MB / 0.6519 GB, free: 115 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/0.5162, allocations: 63.41 kB / 0.6519 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.5162, allocations: 15.94 kB / 0.6519 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01945/0.5356, allocations: 7.484 MB / 0.6593 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.5378, allocations: 0.6592 MB / 0.6599 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02488/0.5626, allocations: 13.43 MB / 0.673 GB, free: 93.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003657/0.5663, allocations: 0.5325 MB / 0.6735 GB, free: 92.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000422/0.5667, allocations: 112 kB / 0.6736 GB, free: 92.59 MB / 490.7 MB 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.001119/0.5678, allocations: 414.3 kB / 0.674 GB, free: 92.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009927/0.5688, allocations: 0.5829 MB / 0.6746 GB, free: 91.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01909/0.5879, allocations: 10.65 MB / 0.685 GB, free: 80.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.5879, allocations: 40 kB / 0.685 GB, free: 80.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.083e-05/0.588, allocations: 28 kB / 0.6851 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.424e-05/0.5881, allocations: 19.92 kB / 0.6851 GB, free: 80.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/0.6137, allocations: 13.33 MB / 0.6981 GB, free: 67.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/0.6137, allocations: 0 / 0.6981 GB, free: 67.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.6152, allocations: 387.5 kB / 0.6985 GB, free: 66.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02005/0.6352, allocations: 7.56 MB / 0.7059 GB, free: 59.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009886/0.6362, allocations: 71.92 kB / 0.7059 GB, free: 59.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02476/0.661, allocations: 14.58 MB / 0.7202 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.661, allocations: 4 kB / 0.7202 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02275/0.6837, allocations: 11.64 MB / 0.7315 GB, free: 32.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/0.6854, allocations: 0.4999 MB / 0.732 GB, free: 32.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/0.6868, allocations: 64 kB / 0.7321 GB, free: 32.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002491/0.6893, allocations: 284.4 kB / 0.7324 GB, free: 31.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002037/0.6913, allocations: 0.7761 MB / 0.7331 GB, free: 31.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/0.6915, allocations: 71.97 kB / 0.7332 GB, free: 31.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0014/0.6929, allocations: 1.608 MB / 0.7348 GB, free: 29.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6929, allocations: 0 / 0.7348 GB, free: 29.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005552/0.6985, allocations: 1.803 MB / 0.7365 GB, free: 27.64 MB / 490.7 MB 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.0006519/0.6991, allocations: 203.9 kB / 0.7367 GB, free: 27.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01042/0.7096, allocations: 5.743 MB / 0.7423 GB, free: 21.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.7096, allocations: 4 kB / 0.7423 GB, free: 21.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008181/0.7178, allocations: 4.314 MB / 0.7465 GB, free: 17.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.7204, allocations: 457.6 kB / 0.747 GB, free: 16.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.7339, allocations: 7.291 MB / 0.7541 GB, free: 9.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.735, allocations: 0.802 MB / 0.7549 GB, free: 8.578 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001708/0.7367, allocations: 363.7 kB / 0.7552 GB, free: 8.219 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.7379, allocations: 0.4982 MB / 0.7557 GB, free: 7.723 MB / 490.7 MB Notification: Performance of SimCode: time 2.385e-06/0.7379, allocations: 0 / 0.7557 GB, free: 7.723 MB / 490.7 MB Notification: Performance of Templates: time 0.3124/1.05, allocations: 106.2 MB / 0.8594 GB, free: 169 MB / 0.5417 GB " [Timeout remaining time 659] 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: 6.180337008088827]