Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0009561/0.0009561, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8612/0.8612, allocations: 177.2 MB / 200.2 MB, free: 5.934 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.001268/0.001268, allocations: 160.6 kB / 256.7 MB, free: 13.34 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.2586/0.2586, allocations: 80.25 MB / 393.4 MB, free: 2.434 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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.556 GB, free: 12.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.859e-05, allocations: 2.281 kB / 0.556 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004262/0.00428, allocations: 5.76 MB / 0.5617 GB, free: 6.371 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.006388, allocations: 1.939 MB / 0.5635 GB, free: 4.426 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.006658, allocations: 8 kB / 0.5636 GB, free: 4.418 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.007138, allocations: 233.9 kB / 0.5638 GB, free: 4.188 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.008366, allocations: 0.865 MB / 0.5646 GB, free: 3.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.009026, allocations: 0.6369 MB / 0.5652 GB, free: 2.691 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009162/0.009942, allocations: 1.58 MB / 0.5668 GB, free: 1.105 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.01021, allocations: 210.9 kB / 0.567 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006451/0.01085, allocations: 0.9038 MB / 0.5679 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005123/0.01136, allocations: 0.6737 MB / 0.5685 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.01148, allocations: 120 kB / 0.5686 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.01175, allocations: 271.8 kB / 0.5689 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.01194, allocations: 342.5 kB / 0.5692 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.0122, allocations: 458.4 kB / 0.5697 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.01345, allocations: 1.733 MB / 0.5714 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01345, allocations: 0 / 0.5714 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.41e-07/0.01345, allocations: 0 / 0.5714 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.01346, allocations: 0 / 0.5714 GB, free: 12.4 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004269/0.01773, allocations: 2.8 MB / 0.5741 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.01776, allocations: 8.031 kB / 0.5741 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.02013, allocations: 0.7952 MB / 0.5749 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009013/0.02103, allocations: 0.8345 MB / 0.5757 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.02122, allocations: 337.3 kB / 0.576 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.02133, allocations: 84 kB / 0.5761 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.02259, allocations: 1.108 MB / 0.5772 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.02261, allocations: 0 / 0.5772 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.02267, allocations: 31.94 kB / 0.5772 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.02268, allocations: 20 kB / 0.5772 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.02403, allocations: 1.009 MB / 0.5782 GB, free: 5.195 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.003354/0.02739, allocations: 2.832 MB / 0.581 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003562/0.03095, allocations: 2.026 MB / 0.583 GB, free: 264 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.03172, allocations: 0.6427 MB / 0.5836 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-05/0.03179, allocations: 16.98 kB / 0.5836 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000931/0.03272, allocations: 0.8389 MB / 0.5844 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 1.883e-06/0.03272, allocations: 0 / 0.5844 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.01404/0.04676, allocations: 7.064 MB / 0.5913 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.04681, allocations: 119.8 kB / 0.5914 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.04782, allocations: 1.062 MB / 0.5925 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.04789, allocations: 49.7 kB / 0.5925 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.04813, allocations: 0.5014 MB / 0.593 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.04834, allocations: 360.9 kB / 0.5934 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.04863, allocations: 271.5 kB / 0.5936 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.0487, allocations: 309 kB / 0.5939 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000939/0.04963, allocations: 0.8037 MB / 0.5947 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.05069, allocations: 0.9649 MB / 0.5956 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2076/0.2583, allocations: 5.735 MB / 0.6012 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.2583, allocations: 3.219 kB / 0.6012 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.006808/0.2651, allocations: 4.358 MB / 0.6055 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/0.2651, allocations: 58.5 kB / 0.6055 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2651, allocations: 7.656 kB / 0.6056 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.2679, allocations: 1.572 MB / 0.6071 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.2686, allocations: 271.8 kB / 0.6073 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.2803, allocations: 8.199 MB / 0.6154 GB, free: 86.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/0.2812, allocations: 192.7 kB / 0.6155 GB, free: 86.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.2813, allocations: 55.45 kB / 0.6156 GB, free: 86.71 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (153): * Single equations (assignments): 150 * 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 {(18,15,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004402/0.2818, allocations: 308 kB / 0.6159 GB, free: 86.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.2819, allocations: 131.5 kB / 0.616 GB, free: 86.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007168/0.2891, allocations: 3.862 MB / 0.6198 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.2891, allocations: 9.656 kB / 0.6198 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.2891, allocations: 7.25 kB / 0.6198 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.2891, allocations: 7.766 kB / 0.6198 GB, free: 85.46 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.008112/0.2972, allocations: 4.896 MB / 0.6246 GB, free: 83.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2972, allocations: 1.031 kB / 0.6246 GB, free: 83.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.2975, allocations: 96.36 kB / 0.6247 GB, free: 83.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002829/0.3003, allocations: 1.605 MB / 0.6262 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.3004, allocations: 18.03 kB / 0.6263 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.3112, allocations: 9.182 MB / 0.6352 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3112, allocations: 1.125 kB / 0.6352 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007229/0.3184, allocations: 4.768 MB / 0.6399 GB, free: 76.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.3186, allocations: 148.8 kB / 0.64 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.3187, allocations: 22.84 kB / 0.6401 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.3193, allocations: 108.3 kB / 0.6402 GB, free: 76.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/0.3196, allocations: 201.3 kB / 0.6403 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.3196, allocations: 22.03 kB / 0.6404 GB, free: 76.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005985/0.3202, allocations: 0.7253 MB / 0.6411 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3202, allocations: 6.844 kB / 0.6411 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001032/0.3212, allocations: 474.6 kB / 0.6415 GB, free: 75.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002513/0.3215, allocations: 145.3 kB / 0.6417 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00301/0.3245, allocations: 2.424 MB / 0.644 GB, free: 73.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3245, allocations: 0 / 0.644 GB, free: 73.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.3264, allocations: 1.553 MB / 0.6456 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.3269, allocations: 119.3 kB / 0.6457 GB, free: 72.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.329, allocations: 2.194 MB / 0.6478 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.3292, allocations: 0.5314 MB / 0.6483 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.3294, allocations: 88.47 kB / 0.6484 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/0.3294, allocations: 0 / 0.6484 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of Templates: time 0.0134/0.3428, allocations: 24.14 MB / 0.672 GB, free: 45.15 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.912691915407777] Failed to read output from testmodel.py, exit status != 0: 0.3479977445676923 0.35397554400000003 0.33930117600000004 Calling exit ...