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.001573/0.001573, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.456/1.456, allocations: 230.6 MB / 252.7 MB, free: 8.102 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.001779/0.001779, allocations: 205.2 kB / 309.2 MB, free: 2.957 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.5795/0.5795, allocations: 107.2 MB / 472.8 MB, free: 4.5 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: 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.002702/0.002702, allocations: 84.3 kB / 0.6335 GB, free: 4.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4473, allocations: 80.15 MB / 0.7118 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.005233/0.4525, allocations: 5.505 MB / 0.7172 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.4559, allocations: 1.822 MB / 0.719 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.4563, allocations: 16.12 kB / 0.719 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.4568, allocations: 222.5 kB / 0.7192 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.4587, allocations: 0.7815 MB / 0.72 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.46, allocations: 0.5949 MB / 0.7205 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.4614, allocations: 1.375 MB / 0.7219 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.4618, allocations: 192.5 kB / 0.7221 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000706/0.4625, allocations: 0.6143 MB / 0.7227 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008424/0.4633, allocations: 0.6912 MB / 0.7233 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.4634, allocations: 112.8 kB / 0.7234 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.4639, allocations: 245.5 kB / 0.7237 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.4642, allocations: 292.3 kB / 0.724 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.4646, allocations: 0.501 MB / 0.7244 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.4663, allocations: 1.522 MB / 0.7259 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4663, allocations: 0 / 0.7259 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4663, allocations: 0 / 0.7259 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.4663, allocations: 0 / 0.7259 GB, free: 11.99 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.00862/0.475, allocations: 2.474 MB / 0.7284 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.475, allocations: 9.438 kB / 0.7284 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005362/0.4804, allocations: 0.7714 MB / 0.7291 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.4821, allocations: 0.7388 MB / 0.7298 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.4825, allocations: 363.5 kB / 0.7302 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.4826, allocations: 73.78 kB / 0.7303 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.4852, allocations: 1.172 MB / 0.7314 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.4852, allocations: 3.938 kB / 0.7314 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.4853, allocations: 26.59 kB / 0.7314 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.4853, allocations: 16.12 kB / 0.7314 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.4875, allocations: 0.9523 MB / 0.7324 GB, free: 9 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 preOpt removeSimpleEquations (simulation): time 0.005973/0.4934, allocations: 2.648 MB / 0.735 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007111/0.5006, allocations: 1.926 MB / 0.7368 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.5019, allocations: 0.5896 MB / 0.7374 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.299e-05/0.502, allocations: 18.45 kB / 0.7374 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.502, allocations: 40.03 kB / 0.7375 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=92): time 3.026e-06/0.502, allocations: 2.094 kB / 0.7375 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=92): time 0.02794/0.53, allocations: 6.693 MB / 0.744 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.5301, allocations: 97.94 kB / 0.7441 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.5315, allocations: 0.9417 MB / 0.745 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.5317, allocations: 41.2 kB / 0.7451 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.5321, allocations: 469 kB / 0.7455 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/0.5324, allocations: 329.6 kB / 0.7458 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/0.5329, allocations: 248.1 kB / 0.7461 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.5331, allocations: 354.2 kB / 0.7464 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.5346, allocations: 0.6869 MB / 0.7471 GB, free: 384 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.5362, allocations: 0.905 MB / 0.748 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02312/0.5594, allocations: 5.248 MB / 0.7531 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.5594, allocations: 4 kB / 0.7531 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.01351/0.5729, allocations: 4.087 MB / 0.7571 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.5729, allocations: 10.5 kB / 0.7571 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.5729, allocations: 4 kB / 0.7571 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005674/0.5786, allocations: 1.523 MB / 0.7586 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.5799, allocations: 247.6 kB / 0.7588 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/0.6002, allocations: 7.963 MB / 0.7666 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.6018, allocations: 163.4 kB / 0.7667 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.602, allocations: 55.97 kB / 0.7668 GB, free: 14.4 MB / 0.5294 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.0006214/0.6026, allocations: 264.5 kB / 0.767 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.6036, allocations: 345.4 kB / 0.7674 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/0.6158, allocations: 3.549 MB / 0.7708 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.6159, allocations: 19.92 kB / 0.7709 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.6159, allocations: 4 kB / 0.7709 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.6159, allocations: 7.984 kB / 0.7709 GB, free: 10.19 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 postOpt removeSimpleEquations (simulation): time 0.0144/0.6303, allocations: 4.57 MB / 0.7753 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.6303, allocations: 0 / 0.7753 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.6309, allocations: 107.8 kB / 0.7754 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005757/0.6366, allocations: 1.575 MB / 0.777 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.922e-05/0.6367, allocations: 20 kB / 0.777 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02116/0.6579, allocations: 10.33 MB / 0.7871 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6579, allocations: 0 / 0.7871 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.673, allocations: 4.594 MB / 0.7916 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.6735, allocations: 131.1 kB / 0.7917 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.6737, allocations: 19.98 kB / 0.7917 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009778/0.6746, allocations: 91.84 kB / 0.7918 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005386/0.6752, allocations: 176.7 kB / 0.792 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.6753, allocations: 27.98 kB / 0.792 GB, free: 4.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008962/0.6762, allocations: 0.623 MB / 0.7926 GB, free: 3.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6762, allocations: 0 / 0.7926 GB, free: 3.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001344/0.6775, allocations: 439.6 kB / 0.793 GB, free: 3.133 MB / 0.545 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.0002797/0.6778, allocations: 139 kB / 0.7932 GB, free: 2.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006164/0.6839, allocations: 2.155 MB / 0.7953 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6839, allocations: 0 / 0.7953 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004046/0.688, allocations: 1.27 MB / 0.7965 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.6895, allocations: 339.2 kB / 0.7968 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.6936, allocations: 2.106 MB / 0.7989 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.6942, allocations: 493.8 kB / 0.7994 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003716/0.6945, allocations: 95.25 kB / 0.7994 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.6948, allocations: 79.41 kB / 0.7995 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.6948, allocations: 0 / 0.7995 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.03991/0.7347, allocations: 24.72 MB / 0.8237 GB, free: 3.676 MB / 0.5762 GB " [Timeout remaining time 659] 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: 7.195441093295813] Failed to read output from testmodel.py, exit status != 0: 0.7434781808406115 0.757706386 0.288313293 Calling exit ...