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.001486/0.001486, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.368/1.368, allocations: 230.6 MB / 253.4 MB, free: 14.3 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.001458/0.001458, allocations: 216.1 kB / 310 MB, free: 3.066 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.5629/0.5629, allocations: 107.2 MB / 473.6 MB, free: 29.63 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.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.002493/0.002493, allocations: 85.78 kB / 0.6343 GB, free: 29.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1296, allocations: 80.14 MB / 0.7125 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.006892/0.1365, allocations: 5.53 MB / 0.7179 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.1404, allocations: 1.822 MB / 0.7197 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.1408, allocations: 15.94 kB / 0.7197 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.1413, allocations: 214.1 kB / 0.7199 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.1432, allocations: 0.7813 MB / 0.7207 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1445, allocations: 0.5811 MB / 0.7213 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.146, allocations: 1.382 MB / 0.7226 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.1464, allocations: 192.4 kB / 0.7228 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.1471, allocations: 0.6068 MB / 0.7234 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008245/0.148, allocations: 0.6998 MB / 0.7241 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.1481, allocations: 104 kB / 0.7242 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.1486, allocations: 251.8 kB / 0.7244 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.1489, allocations: 294.7 kB / 0.7247 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.1493, allocations: 0.4972 MB / 0.7252 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.1509, allocations: 1.529 MB / 0.7267 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1509, allocations: 0 / 0.7267 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.151, allocations: 3.938 kB / 0.7267 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.151, allocations: 4 kB / 0.7267 GB, free: 8.664 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.007977/0.1589, allocations: 2.459 MB / 0.7291 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.159, allocations: 12.02 kB / 0.7291 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/0.1638, allocations: 0.7641 MB / 0.7298 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.1652, allocations: 0.7449 MB / 0.7306 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000376/0.1656, allocations: 375 kB / 0.7309 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.1658, allocations: 75.98 kB / 0.731 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.1681, allocations: 1.17 MB / 0.7321 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.1682, allocations: 3.938 kB / 0.7322 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/0.1683, allocations: 36 kB / 0.7322 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.1683, allocations: 16 kB / 0.7322 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.1703, allocations: 0.9381 MB / 0.7331 GB, free: 1.91 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.00581/0.1761, allocations: 2.644 MB / 0.7357 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006962/0.1831, allocations: 1.934 MB / 0.7376 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.1844, allocations: 0.597 MB / 0.7382 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.734e-05/0.1845, allocations: 12.66 kB / 0.7382 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.1845, allocations: 47.2 kB / 0.7382 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=92): time 3.206e-06/0.1846, allocations: 0 / 0.7382 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92): time 0.02709/0.2116, allocations: 6.685 MB / 0.7448 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.2118, allocations: 101.7 kB / 0.7449 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.2133, allocations: 0.9328 MB / 0.7458 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.2135, allocations: 41.7 kB / 0.7458 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/0.2139, allocations: 473.3 kB / 0.7463 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.2143, allocations: 325.2 kB / 0.7466 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004839/0.2148, allocations: 247.5 kB / 0.7468 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.215, allocations: 357.9 kB / 0.7471 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.2165, allocations: 0.6832 MB / 0.7478 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.2182, allocations: 0.9029 MB / 0.7487 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02275/0.2409, allocations: 5.256 MB / 0.7538 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.2409, allocations: 4 kB / 0.7538 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.01372/0.2547, allocations: 4.083 MB / 0.7578 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.2547, allocations: 11.92 kB / 0.7578 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.2547, allocations: 8 kB / 0.7578 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005511/0.2602, allocations: 1.515 MB / 0.7593 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.2615, allocations: 243.6 kB / 0.7595 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.2814, allocations: 7.958 MB / 0.7673 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.2829, allocations: 167.3 kB / 0.7675 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.2831, allocations: 59.92 kB / 0.7675 GB, free: 14.2 MB / 0.545 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.0006327/0.2838, allocations: 265 kB / 0.7678 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.2848, allocations: 341.5 kB / 0.7681 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.2967, allocations: 3.557 MB / 0.7716 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.2967, allocations: 11.94 kB / 0.7716 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.2967, allocations: 8 kB / 0.7716 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.2968, allocations: 7.984 kB / 0.7716 GB, free: 9.984 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.01456/0.3113, allocations: 4.57 MB / 0.7761 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.3113, allocations: 4 kB / 0.7761 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/0.312, allocations: 115.8 kB / 0.7762 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005593/0.3176, allocations: 1.574 MB / 0.7777 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.3178, allocations: 23.98 kB / 0.7777 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/0.3385, allocations: 10.33 MB / 0.7878 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3385, allocations: 3.938 kB / 0.7878 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/0.3534, allocations: 4.579 MB / 0.7923 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.3538, allocations: 131.1 kB / 0.7924 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.3541, allocations: 24 kB / 0.7925 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.3552, allocations: 83.84 kB / 0.7925 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005506/0.3557, allocations: 184.7 kB / 0.7927 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.3558, allocations: 24 kB / 0.7927 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009339/0.3568, allocations: 0.623 MB / 0.7933 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3568, allocations: 7.938 kB / 0.7934 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001398/0.3582, allocations: 443.7 kB / 0.7938 GB, free: 2.918 MB / 0.5606 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.0002871/0.3585, allocations: 131.1 kB / 0.7939 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00608/0.3645, allocations: 2.158 MB / 0.796 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3645, allocations: 0 / 0.796 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003939/0.3685, allocations: 1.254 MB / 0.7972 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.37, allocations: 342.9 kB / 0.7976 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.3743, allocations: 2.143 MB / 0.7997 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.3748, allocations: 493.8 kB / 0.8001 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.3751, allocations: 83.42 kB / 0.8002 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.3751, allocations: 0 / 0.8002 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.2927/0.6678, allocations: 21.95 MB / 0.8216 GB, free: 93.06 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: 8.752198639791459] Failed to read output from testmodel.py, exit status != 0: 0.6755792391486466 0.6865433830000001 0.533299123 Calling exit ...