Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001415/0.001415, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.553/1.553, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001703/0.001703, allocations: 214 kB / 309.2 MB, free: 3.133 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.6984/0.6984, allocations: 107.2 MB / 472.8 MB, free: 29.72 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.002685/0.002685, allocations: 85.59 kB / 0.6335 GB, free: 29.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2007, allocations: 80.15 MB / 0.7118 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.00818/0.2089, allocations: 5.887 MB / 0.7175 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004967/0.2138, allocations: 1.963 MB / 0.7195 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008061/0.2147, allocations: 8 kB / 0.7195 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008722/0.2155, allocations: 249.9 kB / 0.7197 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.2182, allocations: 0.8597 MB / 0.7205 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.2198, allocations: 0.6294 MB / 0.7212 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002299/0.2221, allocations: 1.663 MB / 0.7228 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.2226, allocations: 214.9 kB / 0.723 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.2237, allocations: 0.7042 MB / 0.7237 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.225, allocations: 0.8048 MB / 0.7245 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.2252, allocations: 128 kB / 0.7246 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007854/0.226, allocations: 275.8 kB / 0.7248 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003757/0.2264, allocations: 346.6 kB / 0.7252 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006014/0.227, allocations: 0.5594 MB / 0.7257 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.2292, allocations: 1.754 MB / 0.7274 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2293, allocations: 0 / 0.7274 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2293, allocations: 0 / 0.7274 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.2293, allocations: 0 / 0.7274 GB, free: 6.969 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01004/0.2393, allocations: 2.878 MB / 0.7302 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.2394, allocations: 16.03 kB / 0.7303 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005293/0.2447, allocations: 0.7952 MB / 0.731 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.2466, allocations: 0.8622 MB / 0.7319 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004297/0.2471, allocations: 341.3 kB / 0.7322 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.2473, allocations: 87.95 kB / 0.7323 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.2497, allocations: 1.127 MB / 0.7334 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.2498, allocations: 3.938 kB / 0.7334 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2499, allocations: 28 kB / 0.7334 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.2499, allocations: 23.94 kB / 0.7334 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.2522, allocations: 1.017 MB / 0.7344 GB, free: 15.62 MB / 0.5137 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.007332/0.2595, allocations: 2.897 MB / 0.7373 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007951/0.2675, allocations: 2.035 MB / 0.7393 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.2692, allocations: 0.656 MB / 0.7399 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.2693, allocations: 9 kB / 0.7399 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001903/0.2712, allocations: 0.8584 MB / 0.7407 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=97): time 3.346e-06/0.2712, allocations: 4 kB / 0.7407 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=97): time 0.03122/0.3024, allocations: 7.083 MB / 0.7477 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.3025, allocations: 111.8 kB / 0.7478 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.3046, allocations: 1.106 MB / 0.7489 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003066/0.3049, allocations: 41.7 kB / 0.7489 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.3055, allocations: 0.5131 MB / 0.7494 GB, free: 96 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005138/0.306, allocations: 369 kB / 0.7497 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/0.3065, allocations: 283.5 kB / 0.75 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3067, allocations: 305.1 kB / 0.7503 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.3085, allocations: 0.8233 MB / 0.7511 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.3105, allocations: 0.9923 MB / 0.7521 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02801/0.3385, allocations: 5.997 MB / 0.7579 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.3385, allocations: 0 / 0.7579 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01549/0.354, allocations: 4.458 MB / 0.7623 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.957e-05/0.3541, allocations: 59.41 kB / 0.7623 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3541, allocations: 3.938 kB / 0.7623 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/0.3603, allocations: 1.627 MB / 0.7639 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.3619, allocations: 275.6 kB / 0.7642 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.3837, allocations: 8.311 MB / 0.7723 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.3859, allocations: 203.2 kB / 0.7725 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.386, allocations: 55.98 kB / 0.7726 GB, free: 8.031 MB / 0.545 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 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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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: 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 (160): * Single equations (assignments): 157 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007058/0.3867, allocations: 304.5 kB / 0.7729 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.387, allocations: 131.2 kB / 0.773 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.4004, allocations: 3.898 MB / 0.7768 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.4004, allocations: 8 kB / 0.7768 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.4005, allocations: 8 kB / 0.7768 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.103e-05/0.4005, allocations: 11.91 kB / 0.7768 GB, free: 3.625 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.01574/0.4162, allocations: 4.939 MB / 0.7816 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.4162, allocations: 3.938 kB / 0.7816 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/0.417, allocations: 99.89 kB / 0.7817 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/0.4229, allocations: 1.586 MB / 0.7833 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.4231, allocations: 16 kB / 0.7833 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/0.4449, allocations: 9.216 MB / 0.7923 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4449, allocations: 0 / 0.7923 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/0.4608, allocations: 4.813 MB / 0.797 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/0.4614, allocations: 150.9 kB / 0.7971 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.4616, allocations: 20 kB / 0.7972 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.4629, allocations: 111.9 kB / 0.7973 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006643/0.4636, allocations: 212.5 kB / 0.7975 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.4636, allocations: 24 kB / 0.7975 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001279/0.4649, allocations: 0.7389 MB / 0.7982 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4649, allocations: 0 / 0.7982 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001717/0.4666, allocations: 495.5 kB / 0.7987 GB, free: 12.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003353/0.467, allocations: 143.1 kB / 0.7988 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007056/0.474, allocations: 2.51 MB / 0.8013 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.474, allocations: 0 / 0.8013 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004596/0.4786, allocations: 1.553 MB / 0.8028 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.4798, allocations: 110.4 kB / 0.8029 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.4847, allocations: 2.418 MB / 0.8053 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.4854, allocations: 0.5436 MB / 0.8058 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004712/0.4858, allocations: 120 kB / 0.8059 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.4861, allocations: 79.41 kB / 0.806 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.4861, allocations: 0 / 0.806 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of Templates: time 0.457/0.9431, allocations: 27.82 MB / 0.8331 GB, free: 86.93 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.984534248709679] Failed to read output from testmodel.py, exit status != 0: 0.9531205613166094 0.962972332 0.7313510839999999 Calling exit ...