Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 110.2 kB / 18.94 MB, free: 2.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 247.7 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 195.9 kB / 303.1 MB, free: 8.707 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6324/0.6324, allocations: 99.66 MB / 458 MB, free: 3.902 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 79.88 kB / 0.613 GB, free: 6.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1886, allocations: 76.98 MB / 0.6882 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.4364/0.625, allocations: 21.93 MB / 0.7096 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.6398, allocations: 4.88 MB / 0.7144 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007224/0.647, allocations: 44.22 kB / 0.7144 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.6512, allocations: 0.8838 MB / 0.7153 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.663, allocations: 2.288 MB / 0.7175 GB, free: 160 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007682/0.6706, allocations: 2.076 MB / 0.7196 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01395/0.6846, allocations: 5.745 MB / 0.7252 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003923/0.6885, allocations: 0.9211 MB / 0.7261 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007662/0.6962, allocations: 2.391 MB / 0.7284 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008424/0.7046, allocations: 2.946 MB / 0.7313 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003323/0.7079, allocations: 436.7 kB / 0.7317 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004929/0.7128, allocations: 0.5782 MB / 0.7323 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003821/0.7167, allocations: 1.153 MB / 0.7334 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008808/0.7255, allocations: 2.608 MB / 0.7359 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01592/0.7414, allocations: 6.256 MB / 0.7421 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.7414, allocations: 0 / 0.7421 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7414, allocations: 1.062 kB / 0.7421 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004091/0.7418, allocations: 0 / 0.7421 GB, free: 1.965 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.04345/0.7853, allocations: 9.873 MB / 0.7517 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.7853, allocations: 17.8 kB / 0.7517 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02984/0.8152, allocations: 4.037 MB / 0.7557 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009899/0.8251, allocations: 2.566 MB / 0.7582 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001544/0.8266, allocations: 0.9621 MB / 0.7591 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001953/0.8286, allocations: 352 kB / 0.7594 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.8448, allocations: 4.727 MB / 0.7641 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.845, allocations: 3.938 kB / 0.7641 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/0.846, allocations: 144.6 kB / 0.7642 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.809e-05/0.8461, allocations: 84 kB / 0.7643 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.857, allocations: 4.244 MB / 0.7684 GB, free: 13.88 MB / 0.5294 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.04682/0.9039, allocations: 18.05 MB / 0.786 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/0.9185, allocations: 4.346 MB / 0.7903 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006627/0.9251, allocations: 2.479 MB / 0.7927 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.9257, allocations: 70.91 kB / 0.7928 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009509/0.9353, allocations: 3.179 MB / 0.7959 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=383): time 1.796e-05/0.9353, allocations: 0 / 0.7959 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of matching and sorting (n=383): time 0.3227/1.258, allocations: 67.78 MB / 0.8621 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/1.258, allocations: 145.8 kB / 0.8622 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008172/1.266, allocations: 3.218 MB / 0.8654 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001351/1.268, allocations: 89.7 kB / 0.8654 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00221/1.27, allocations: 1.993 MB / 0.8674 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.003304/1.273, allocations: 1.383 MB / 0.8687 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004328/1.277, allocations: 0.6823 MB / 0.8694 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.278, allocations: 301.1 kB / 0.8697 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00743/1.285, allocations: 2.589 MB / 0.8722 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008235/1.293, allocations: 3.21 MB / 0.8754 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07991/1.373, allocations: 18.77 MB / 0.8937 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.515e-05/1.373, allocations: 4 kB / 0.8937 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.06987/1.443, allocations: 17.14 MB / 0.9104 GB, free: 10.41 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/1.443, allocations: 63.41 kB / 0.9105 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.522e-05/1.443, allocations: 16 kB / 0.9105 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02825/1.472, allocations: 7.154 MB / 0.9175 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004004/1.476, allocations: 0.6747 MB / 0.9182 GB, free: 2.488 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1063/1.582, allocations: 33.22 MB / 0.9506 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007882/1.59, allocations: 0.6337 MB / 0.9512 GB, free: 480 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.591, allocations: 148 kB / 0.9514 GB, free: 332 kB / 0.7012 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.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 (403): * Single equations (assignments): 400 * 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.0037/1.595, allocations: 0.6707 MB / 0.952 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002299/1.597, allocations: 480.8 kB / 0.9525 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06177/1.659, allocations: 16.71 MB / 0.9688 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.088e-05/1.659, allocations: 36 kB / 0.9688 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/1.659, allocations: 29.62 kB / 0.9689 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001157/1.659, allocations: 23.92 kB / 0.9689 GB, free: 14.3 MB / 0.7325 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.4574/2.117, allocations: 21.69 MB / 0.9901 GB, free: 237 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/2.117, allocations: 3.938 kB / 0.9901 GB, free: 237 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/2.119, allocations: 386 kB / 0.9904 GB, free: 237 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02796/2.147, allocations: 7.343 MB / 0.9976 GB, free: 236.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/2.148, allocations: 74.33 kB / 0.9977 GB, free: 236.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08028/2.229, allocations: 31.64 MB / 1.029 GB, free: 226.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/2.229, allocations: 0.5469 kB / 1.029 GB, free: 226.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06091/2.29, allocations: 20.12 MB / 1.048 GB, free: 219.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/2.292, allocations: 0.5009 MB / 1.049 GB, free: 219 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001368/2.293, allocations: 67.8 kB / 1.049 GB, free: 219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00487/2.298, allocations: 375.2 kB / 1.049 GB, free: 218.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003288/2.301, allocations: 0.8107 MB / 1.05 GB, free: 218.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003413/2.301, allocations: 101.1 kB / 1.05 GB, free: 218.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003063/2.305, allocations: 2.105 MB / 1.052 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/2.305, allocations: 0 / 1.052 GB, free: 216.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006058/2.311, allocations: 1.803 MB / 1.054 GB, free: 214.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,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.0005565/2.311, allocations: 200.5 kB / 1.054 GB, free: 214.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02593/2.337, allocations: 8.768 MB / 1.063 GB, free: 206.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/2.337, allocations: 4.062 kB / 1.063 GB, free: 206.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02087/2.358, allocations: 5.852 MB / 1.068 GB, free: 200.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007275/2.365, allocations: 391.9 kB / 1.069 GB, free: 200.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/2.382, allocations: 8.012 MB / 1.077 GB, free: 192.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/2.384, allocations: 2.439 MB / 1.079 GB, free: 189.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001776/2.386, allocations: 375.5 kB / 1.079 GB, free: 189.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008237/2.387, allocations: 251.4 kB / 1.079 GB, free: 189 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/2.387, allocations: 0 / 1.079 GB, free: 189 MB / 0.7325 GB Notification: Performance of Templates: time 0.1342/2.521, allocations: 93.85 MB / 1.171 GB, free: 95.22 MB / 0.7325 GB " [Timeout remaining time 657] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.494439481757581] Failed to read output from testmodel.py, exit status != 0: 2.5319919288158417 2.540722222 1.796451907 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb776d457b0>