Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001327/0.001327, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.381/1.381, allocations: 177.1 MB / 199.4 MB, free: 8.441 MB / 190.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.001552/0.001552, allocations: 169.4 kB / 256 MB, free: 4.312 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.5961/0.5961, allocations: 80.25 MB / 392.6 MB, free: 29.72 MB / 334.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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.767e-06/3.767e-06, allocations: 0 / 0.5553 GB, free: 14.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.363e-05/3.74e-05, allocations: 5.656 kB / 0.5553 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.006734/0.006771, allocations: 5.516 MB / 0.5607 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.01135, allocations: 1.817 MB / 0.5625 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.01261, allocations: 10.19 kB / 0.5625 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.01329, allocations: 210.8 kB / 0.5627 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.01587, allocations: 0.8283 MB / 0.5635 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.01733, allocations: 0.5759 MB / 0.5641 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.01909, allocations: 1.42 MB / 0.5654 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.01947, allocations: 197.3 kB / 0.5656 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.02055, allocations: 0.8187 MB / 0.5664 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007444/0.0213, allocations: 0.6125 MB / 0.567 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.02148, allocations: 103.7 kB / 0.5671 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006544/0.02214, allocations: 249.2 kB / 0.5674 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.02235, allocations: 298.3 kB / 0.5676 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.02282, allocations: 417.9 kB / 0.568 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.02513, allocations: 1.542 MB / 0.5695 GB, free: 4.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.02515, allocations: 1.406 kB / 0.5695 GB, free: 4.605 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.02515, allocations: 0 / 0.5695 GB, free: 4.605 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.02518, allocations: 0 / 0.5695 GB, free: 4.605 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.009258/0.03443, allocations: 2.46 MB / 0.572 GB, free: 3.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.03449, allocations: 14.59 kB / 0.572 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005272/0.03976, allocations: 0.7709 MB / 0.5727 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.04148, allocations: 0.731 MB / 0.5734 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003693/0.04185, allocations: 367.9 kB / 0.5738 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.04206, allocations: 77.33 kB / 0.5739 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/0.04479, allocations: 1.176 MB / 0.575 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.04482, allocations: 0 / 0.575 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/0.04492, allocations: 27.31 kB / 0.575 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.04495, allocations: 19.69 kB / 0.5751 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.04716, allocations: 0.9476 MB / 0.576 GB, free: 0.6055 MB / 430.1 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.006373/0.05354, allocations: 2.647 MB / 0.5786 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007493/0.06103, allocations: 1.924 MB / 0.5804 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.06248, allocations: 0.599 MB / 0.581 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.06258, allocations: 24.64 kB / 0.581 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.06262, allocations: 43.16 kB / 0.5811 GB, free: 11.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=92): time 3.386e-06/0.06262, allocations: 0 / 0.5811 GB, free: 11.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=92): time 0.02942/0.09204, allocations: 6.697 MB / 0.5876 GB, free: 4.906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.09217, allocations: 97.7 kB / 0.5877 GB, free: 4.793 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.09367, allocations: 0.9405 MB / 0.5886 GB, free: 3.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.09389, allocations: 41.7 kB / 0.5887 GB, free: 3.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.09431, allocations: 469.3 kB / 0.5891 GB, free: 3.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.09471, allocations: 321.3 kB / 0.5894 GB, free: 3.004 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/0.09519, allocations: 238.8 kB / 0.5897 GB, free: 2.766 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.09537, allocations: 353.9 kB / 0.59 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.09694, allocations: 0.6786 MB / 0.5907 GB, free: 1.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.09863, allocations: 0.8639 MB / 0.5915 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02449/0.1231, allocations: 5.188 MB / 0.5966 GB, free: 11.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.1231, allocations: 0 / 0.5966 GB, free: 11.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.01457/0.1377, allocations: 4.04 MB / 0.6005 GB, free: 7.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.1377, allocations: 8 kB / 0.6005 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.1378, allocations: 4 kB / 0.6005 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006035/0.1438, allocations: 1.515 MB / 0.602 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.1451, allocations: 239.6 kB / 0.6022 GB, free: 5.754 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/0.1665, allocations: 7.961 MB / 0.61 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.1686, allocations: 159.4 kB / 0.6102 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.1688, allocations: 55.97 kB / 0.6102 GB, free: 13.46 MB / 478.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * 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,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009146/0.1697, allocations: 254.9 kB / 0.6105 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/0.1709, allocations: 341.4 kB / 0.6108 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.1838, allocations: 3.553 MB / 0.6143 GB, free: 9.289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.1838, allocations: 8 kB / 0.6143 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.1838, allocations: 12 kB / 0.6143 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/0.1839, allocations: 11.86 kB / 0.6143 GB, free: 9.258 MB / 478.1 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 postOpt removeSimpleEquations (simulation): time 0.01627/0.2001, allocations: 4.57 MB / 0.6187 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.2001, allocations: 4 kB / 0.6188 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/0.2008, allocations: 111.9 kB / 0.6189 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006278/0.207, allocations: 1.582 MB / 0.6204 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.2072, allocations: 20 kB / 0.6204 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02374/0.2309, allocations: 10.32 MB / 0.6305 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2309, allocations: 0 / 0.6305 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/0.2477, allocations: 4.579 MB / 0.635 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.2483, allocations: 135.1 kB / 0.6351 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/0.2487, allocations: 20 kB / 0.6351 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.25, allocations: 87.89 kB / 0.6352 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006725/0.2507, allocations: 184.6 kB / 0.6354 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.2508, allocations: 24.19 kB / 0.6354 GB, free: 3.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.2519, allocations: 0.6308 MB / 0.636 GB, free: 2.637 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2519, allocations: 4 kB / 0.636 GB, free: 2.633 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00179/0.2537, allocations: 439.6 kB / 0.6364 GB, free: 2.203 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003832/0.2541, allocations: 128.7 kB / 0.6366 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006998/0.2611, allocations: 2.13 MB / 0.6386 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.2611, allocations: 0 / 0.6386 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004438/0.2656, allocations: 1.254 MB / 0.6399 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.2677, allocations: 343.4 kB / 0.6402 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.2725, allocations: 2.003 MB / 0.6422 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/0.2732, allocations: 493.8 kB / 0.6426 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004391/0.2736, allocations: 91.06 kB / 0.6427 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.274, allocations: 72.47 kB / 0.6428 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of SimCode: time 1.654e-06/0.274, allocations: 0 / 0.6428 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.04091/0.3149, allocations: 23.39 MB / 0.6656 GB, free: 4.262 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.983469646424055] Failed to read output from testmodel.py, exit status != 0: 0.32467322796583176 0.340449432 0.31197373100000003 Calling exit ...