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.001344/0.001344, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.434/1.434, allocations: 177.2 MB / 200.1 MB, free: 8.492 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.001631/0.001631, allocations: 170.1 kB / 256.6 MB, free: 4.285 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4498/0.4498, allocations: 59.75 MB / 372.7 MB, free: 46.93 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: 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.002503/0.002503, allocations: 87.69 kB / 0.5224 GB, free: 29.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1491, allocations: 73.28 MB / 0.594 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007233/0.1563, allocations: 5.486 MB / 0.5993 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.1603, allocations: 1.814 MB / 0.6011 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.1607, allocations: 8 kB / 0.6011 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.1612, allocations: 222.1 kB / 0.6013 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.1631, allocations: 0.7998 MB / 0.6021 GB, free: 6.598 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.1643, allocations: 0.5766 MB / 0.6027 GB, free: 6.027 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.1659, allocations: 1.374 MB / 0.604 GB, free: 4.648 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.1663, allocations: 192.3 kB / 0.6042 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007876/0.167, allocations: 0.6068 MB / 0.6048 GB, free: 3.832 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009187/0.168, allocations: 0.6998 MB / 0.6055 GB, free: 3.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.1681, allocations: 108 kB / 0.6056 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.1686, allocations: 251.8 kB / 0.6058 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.1689, allocations: 290.8 kB / 0.6061 GB, free: 2.492 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005444/0.1695, allocations: 0.505 MB / 0.6066 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.1712, allocations: 1.525 MB / 0.6081 GB, free: 464 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1712, allocations: 3.938 kB / 0.6081 GB, free: 460 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1712, allocations: 0 / 0.6081 GB, free: 460 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.1712, allocations: 0 / 0.6081 GB, free: 460 kB / 462.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.00864/0.1799, allocations: 2.471 MB / 0.6105 GB, free: 13.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1799, allocations: 8.031 kB / 0.6105 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005145/0.1851, allocations: 0.7757 MB / 0.6112 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.1865, allocations: 0.7372 MB / 0.612 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/0.1869, allocations: 363 kB / 0.6123 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.1871, allocations: 76 kB / 0.6124 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.1896, allocations: 1.174 MB / 0.6135 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.1896, allocations: 3.938 kB / 0.6135 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.1897, allocations: 28 kB / 0.6136 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.1897, allocations: 16 kB / 0.6136 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.1919, allocations: 0.9459 MB / 0.6145 GB, free: 9.691 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 preOpt removeSimpleEquations (simulation): time 0.006157/0.198, allocations: 2.621 MB / 0.6171 GB, free: 7.004 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007813/0.2058, allocations: 1.934 MB / 0.6189 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.2075, allocations: 0.597 MB / 0.6195 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.2076, allocations: 12.66 kB / 0.6195 GB, free: 4.441 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.2076, allocations: 47.2 kB / 0.6196 GB, free: 4.383 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 3.536e-06/0.2077, allocations: 0 / 0.6196 GB, free: 4.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.02879/0.2364, allocations: 6.564 MB / 0.626 GB, free: 13.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.2366, allocations: 98.16 kB / 0.6261 GB, free: 13.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.2382, allocations: 0.9289 MB / 0.627 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.2384, allocations: 49.7 kB / 0.627 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.2389, allocations: 473.3 kB / 0.6275 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.2394, allocations: 325.2 kB / 0.6278 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005848/0.2399, allocations: 243.5 kB / 0.628 GB, free: 11.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2401, allocations: 361.9 kB / 0.6284 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.2417, allocations: 0.6871 MB / 0.6291 GB, free: 10.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.2435, allocations: 0.9029 MB / 0.6299 GB, free: 9.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02413/0.2676, allocations: 5.256 MB / 0.6351 GB, free: 4.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/0.2677, allocations: 0 / 0.6351 GB, free: 4.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.0144/0.2821, allocations: 4.091 MB / 0.6391 GB, free: 188 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.2821, allocations: 8 kB / 0.6391 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.2821, allocations: 4 kB / 0.6391 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005942/0.2881, allocations: 1.519 MB / 0.6406 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.2894, allocations: 251.6 kB / 0.6408 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02182/0.3112, allocations: 7.968 MB / 0.6486 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.313, allocations: 171.3 kB / 0.6487 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.3132, allocations: 51.98 kB / 0.6488 GB, free: 6.098 MB / 0.4981 GB 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: 23 * 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 (144): * Single equations (assignments): 143 * 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.0007796/0.314, allocations: 270.2 kB / 0.649 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/0.3152, allocations: 345.4 kB / 0.6494 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.3281, allocations: 3.557 MB / 0.6529 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/0.3281, allocations: 11.94 kB / 0.6529 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/0.3281, allocations: 8 kB / 0.6529 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/0.3281, allocations: 3.984 kB / 0.6529 GB, free: 1.887 MB / 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 postOpt removeSimpleEquations (simulation): time 0.01552/0.3437, allocations: 4.562 MB / 0.6573 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.3437, allocations: 4 kB / 0.6573 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.3443, allocations: 107.9 kB / 0.6574 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/0.3502, allocations: 1.578 MB / 0.659 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.3504, allocations: 19.98 kB / 0.659 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02179/0.3722, allocations: 10.34 MB / 0.6691 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3722, allocations: 0 / 0.6691 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/0.3886, allocations: 4.586 MB / 0.6736 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.3891, allocations: 139 kB / 0.6737 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/0.3895, allocations: 16 kB / 0.6737 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.3907, allocations: 91.84 kB / 0.6738 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006473/0.3913, allocations: 184.7 kB / 0.674 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.3915, allocations: 24 kB / 0.674 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001064/0.3925, allocations: 0.623 MB / 0.6746 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3925, allocations: 0 / 0.6746 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001749/0.3943, allocations: 439.7 kB / 0.675 GB, free: 10.83 MB / 0.5294 GB 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.0003484/0.3946, allocations: 135.1 kB / 0.6752 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006582/0.4012, allocations: 2.154 MB / 0.6773 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4012, allocations: 3.938 kB / 0.6773 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004271/0.4055, allocations: 1.259 MB / 0.6785 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.4072, allocations: 346.8 kB / 0.6788 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.4117, allocations: 2.1 MB / 0.6809 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.4123, allocations: 493.8 kB / 0.6814 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003678/0.4126, allocations: 99.25 kB / 0.6814 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.4129, allocations: 72.48 kB / 0.6815 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of SimCode: time 1.533e-06/0.4129, allocations: 0 / 0.6815 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of Templates: time 0.04092/0.4538, allocations: 23.53 MB / 0.7045 GB, free: 12.59 MB / 0.5606 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 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.378760916995816] Failed to read output from testmodel.py, exit status != 0: 0.46321015094872564 0.7381300909999999 0.30532762199999997 Calling exit ...