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.001264/0.001264, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.395/1.395, allocations: 230.6 MB / 253.4 MB, free: 14.27 MB / 206.1 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.001572/0.001572, allocations: 208 kB / 310 MB, free: 3.125 MB / 238.1 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.5845/0.5845, allocations: 107.2 MB / 473.6 MB, free: 29.87 MB / 350.1 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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 85.8 kB / 0.6343 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1268, allocations: 80.14 MB / 0.7125 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007051/0.1339, allocations: 5.777 MB / 0.7182 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.1377, allocations: 1.924 MB / 0.7201 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.1381, allocations: 12 kB / 0.7201 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.1388, allocations: 233.9 kB / 0.7203 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.1407, allocations: 0.8442 MB / 0.7211 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1419, allocations: 0.6235 MB / 0.7217 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001673/0.1436, allocations: 1.6 MB / 0.7233 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003737/0.144, allocations: 214.9 kB / 0.7235 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008297/0.1448, allocations: 0.6808 MB / 0.7242 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/0.1457, allocations: 0.7737 MB / 0.7249 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.1459, allocations: 120 kB / 0.725 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.1464, allocations: 279.8 kB / 0.7253 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.1467, allocations: 322.7 kB / 0.7256 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005122/0.1472, allocations: 0.5477 MB / 0.7261 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.149, allocations: 1.704 MB / 0.7278 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.149, allocations: 0 / 0.7278 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.149, allocations: 0 / 0.7278 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.149, allocations: 0 / 0.7278 GB, free: 7.492 MB / 0.4981 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.008531/0.1575, allocations: 2.816 MB / 0.7306 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1575, allocations: 12.03 kB / 0.7306 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/0.1625, allocations: 0.8069 MB / 0.7314 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.164, allocations: 0.8268 MB / 0.7322 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.1644, allocations: 333.3 kB / 0.7325 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.1645, allocations: 87.95 kB / 0.7326 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.1667, allocations: 1.112 MB / 0.7336 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.1667, allocations: 0 / 0.7336 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.858e-05/0.1668, allocations: 32 kB / 0.7337 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.1668, allocations: 20 kB / 0.7337 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.1689, allocations: 1.017 MB / 0.7347 GB, free: 264 kB / 0.4981 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.006052/0.1749, allocations: 2.831 MB / 0.7375 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007115/0.182, allocations: 2.021 MB / 0.7394 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.1834, allocations: 0.6388 MB / 0.7401 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-05/0.1835, allocations: 13 kB / 0.7401 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.1851, allocations: 0.8428 MB / 0.7409 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=95): time 2.595e-06/0.1851, allocations: 0 / 0.7409 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95): time 0.02843/0.2135, allocations: 7.072 MB / 0.7478 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.2136, allocations: 111.8 kB / 0.7479 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.2153, allocations: 1.074 MB / 0.7489 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.2155, allocations: 45.7 kB / 0.749 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.2159, allocations: 0.5014 MB / 0.7495 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/0.2163, allocations: 372.7 kB / 0.7498 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004686/0.2168, allocations: 279.5 kB / 0.7501 GB, free: 256 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2169, allocations: 301.1 kB / 0.7504 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.2185, allocations: 0.7998 MB / 0.7512 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.2203, allocations: 0.961 MB / 0.7521 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02378/0.2441, allocations: 5.734 MB / 0.7577 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.2441, allocations: 4 kB / 0.7577 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01327/0.2574, allocations: 4.368 MB / 0.762 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.2574, allocations: 59.41 kB / 0.762 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.2574, allocations: 7.938 kB / 0.762 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005701/0.2631, allocations: 1.572 MB / 0.7636 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.2645, allocations: 271.6 kB / 0.7638 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/0.2843, allocations: 8.198 MB / 0.7718 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.2861, allocations: 191.1 kB / 0.772 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.2862, allocations: 55.97 kB / 0.7721 GB, free: 9.418 MB / 0.545 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.0005986/0.2868, allocations: 304 kB / 0.7724 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.287, allocations: 127.2 kB / 0.7725 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.2996, allocations: 3.878 MB / 0.7763 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.2997, allocations: 8 kB / 0.7763 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.2997, allocations: 8 kB / 0.7763 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.2997, allocations: 3.984 kB / 0.7763 GB, free: 5.051 MB / 0.545 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.01447/0.3142, allocations: 4.892 MB / 0.7811 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.3142, allocations: 0 / 0.7811 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.3147, allocations: 99.83 kB / 0.7812 GB, free: 0 / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00554/0.3203, allocations: 1.59 MB / 0.7827 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.3204, allocations: 16 kB / 0.7827 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/0.341, allocations: 9.201 MB / 0.7917 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.341, allocations: 0 / 0.7917 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.3555, allocations: 4.766 MB / 0.7964 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.3559, allocations: 150.9 kB / 0.7965 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.3561, allocations: 24.06 kB / 0.7965 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.3572, allocations: 107.9 kB / 0.7966 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005341/0.3577, allocations: 204.6 kB / 0.7968 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/0.3578, allocations: 28 kB / 0.7969 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001097/0.3589, allocations: 0.7151 MB / 0.7976 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3589, allocations: 0 / 0.7976 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001284/0.3602, allocations: 479.6 kB / 0.798 GB, free: 14.45 MB / 0.5762 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.0002674/0.3604, allocations: 147.2 kB / 0.7982 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006073/0.3665, allocations: 2.429 MB / 0.8005 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3665, allocations: 3.938 kB / 0.8005 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004154/0.3707, allocations: 1.558 MB / 0.8021 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.3714, allocations: 111.9 kB / 0.8022 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.3754, allocations: 2.295 MB / 0.8044 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.376, allocations: 0.5354 MB / 0.8049 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.3763, allocations: 83.36 kB / 0.805 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.3763, allocations: 0 / 0.805 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of Templates: time 0.2842/0.6605, allocations: 24.11 MB / 0.8286 GB, free: 89.18 MB / 0.5762 GB " [Timeout remaining time 659] 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: 9.153188752941787] Failed to read output from testmodel.py, exit status != 0: 0.6680759419687092 0.6774585160000001 0.526452314 Calling exit ...