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.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.001296/0.001296, allocations: 105.1 kB / 16.45 MB, free: 6.457 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.511/1.511, allocations: 225.6 MB / 244.8 MB, free: 14.14 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.001509/0.001509, allocations: 205.4 kB / 299.8 MB, free: 9.805 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.4363/0.4363, allocations: 79.72 MB / 434.4 MB, free: 6.191 MB / 302.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.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.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 0.002362/0.002362, allocations: 83.86 kB / 0.5789 GB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.137, allocations: 72.09 MB / 0.6493 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007564/0.1446, allocations: 6.217 MB / 0.6553 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.1484, allocations: 1.873 MB / 0.6572 GB, free: 9.105 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.1487, allocations: 12 kB / 0.6572 GB, free: 9.094 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.1492, allocations: 206.1 kB / 0.6574 GB, free: 8.891 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.151, allocations: 0.8169 MB / 0.6582 GB, free: 8.074 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.00126/0.1522, allocations: 0.5861 MB / 0.6587 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.1537, allocations: 1.378 MB / 0.6601 GB, free: 6.105 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.1541, allocations: 195.9 kB / 0.6603 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007187/0.1548, allocations: 0.5795 MB / 0.6608 GB, free: 5.324 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008871/0.1557, allocations: 0.77 MB / 0.6616 GB, free: 4.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.1559, allocations: 108 kB / 0.6617 GB, free: 4.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.1563, allocations: 243.9 kB / 0.6619 GB, free: 4.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.1565, allocations: 290.7 kB / 0.6622 GB, free: 3.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.1571, allocations: 0.6136 MB / 0.6628 GB, free: 3.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.1588, allocations: 1.494 MB / 0.6643 GB, free: 1.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1588, allocations: 0 / 0.6643 GB, free: 1.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1588, allocations: 0 / 0.6643 GB, free: 1.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1588, allocations: 0 / 0.6643 GB, free: 1.805 MB / 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.008226/0.167, allocations: 2.527 MB / 0.6667 GB, free: 15.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1671, allocations: 12.03 kB / 0.6667 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005056/0.1721, allocations: 0.7679 MB / 0.6675 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1735, allocations: 0.7978 MB / 0.6683 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.1739, allocations: 256.2 kB / 0.6685 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.174, allocations: 83.89 kB / 0.6686 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.1766, allocations: 1.176 MB / 0.6697 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.1766, allocations: 7.875 kB / 0.6698 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/0.1767, allocations: 28 kB / 0.6698 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.1767, allocations: 20 kB / 0.6698 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.1788, allocations: 0.9498 MB / 0.6707 GB, free: 11.02 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.006039/0.1849, allocations: 3.531 MB / 0.6742 GB, free: 7.297 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007541/0.1924, allocations: 2.236 MB / 0.6764 GB, free: 4.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.1939, allocations: 0.597 MB / 0.6769 GB, free: 4.367 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.194, allocations: 24.61 kB / 0.677 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.1941, allocations: 43.22 kB / 0.677 GB, free: 4.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 2.835e-06/0.1941, allocations: 4 kB / 0.677 GB, free: 4.289 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.02759/0.2217, allocations: 6.726 MB / 0.6836 GB, free: 13.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.2218, allocations: 97.75 kB / 0.6837 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.2232, allocations: 0.9657 MB / 0.6846 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.2233, allocations: 41.7 kB / 0.6847 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.2237, allocations: 465.4 kB / 0.6851 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.2241, allocations: 329.2 kB / 0.6854 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004786/0.2245, allocations: 263.5 kB / 0.6857 GB, free: 11.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2247, allocations: 301.1 kB / 0.686 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.2262, allocations: 0.6949 MB / 0.6866 GB, free: 10.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.2279, allocations: 0.9147 MB / 0.6875 GB, free: 9.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02253/0.2505, allocations: 5.065 MB / 0.6925 GB, free: 4.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.2505, allocations: 0 / 0.6925 GB, free: 4.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01329/0.2637, allocations: 4.13 MB / 0.6965 GB, free: 48 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.2638, allocations: 10.5 kB / 0.6965 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.2638, allocations: 8 kB / 0.6965 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2889/0.5527, allocations: 1.506 MB / 0.698 GB, free: 43.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.554, allocations: 258.6 kB / 0.6982 GB, free: 43.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.5741, allocations: 8.275 MB / 0.7063 GB, free: 40.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.5757, allocations: 174.2 kB / 0.7065 GB, free: 40.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.5758, allocations: 58.89 kB / 0.7065 GB, free: 40.25 MB / 494.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: 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 (151): * Single equations (assignments): 150 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005611/0.5764, allocations: 260.2 kB / 0.7068 GB, free: 40.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/0.5775, allocations: 344.2 kB / 0.7071 GB, free: 39.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.59, allocations: 3.556 MB / 0.7106 GB, free: 39.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.5901, allocations: 10.81 kB / 0.7106 GB, free: 39.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.5901, allocations: 6.562 kB / 0.7106 GB, free: 39.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/0.5901, allocations: 4.828 kB / 0.7106 GB, free: 39.21 MB / 494.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.01394/0.604, allocations: 5.11 MB / 0.7156 GB, free: 37.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.604, allocations: 2.25 kB / 0.7156 GB, free: 37.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.6046, allocations: 110.7 kB / 0.7157 GB, free: 37.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005314/0.61, allocations: 1.579 MB / 0.7173 GB, free: 37.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.6101, allocations: 21.28 kB / 0.7173 GB, free: 37.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/0.6278, allocations: 10.78 MB / 0.7278 GB, free: 30.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6278, allocations: 0 / 0.7278 GB, free: 30.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.6406, allocations: 4.584 MB / 0.7323 GB, free: 27.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.6409, allocations: 218.7 kB / 0.7325 GB, free: 27.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.641, allocations: 15.94 kB / 0.7325 GB, free: 27.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009384/0.642, allocations: 94.83 kB / 0.7326 GB, free: 27.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004712/0.6424, allocations: 179.2 kB / 0.7328 GB, free: 27.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.6425, allocations: 23.59 kB / 0.7328 GB, free: 27.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006322/0.6431, allocations: 0.6377 MB / 0.7334 GB, free: 26.97 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6431, allocations: 0 / 0.7334 GB, free: 26.97 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001239/0.6444, allocations: 446.4 kB / 0.7338 GB, free: 26.86 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.0002364/0.6446, allocations: 133.1 kB / 0.734 GB, free: 26.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005269/0.6499, allocations: 2.155 MB / 0.7361 GB, free: 24.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6499, allocations: 1.375 kB / 0.7361 GB, free: 24.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003528/0.6534, allocations: 1.259 MB / 0.7373 GB, free: 23.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.6548, allocations: 346.9 kB / 0.7376 GB, free: 22.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.6579, allocations: 2.09 MB / 0.7397 GB, free: 20.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.6582, allocations: 1.077 MB / 0.7407 GB, free: 19.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002835/0.6585, allocations: 99.33 kB / 0.7408 GB, free: 19.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.6587, allocations: 79.41 kB / 0.7409 GB, free: 19.55 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6587, allocations: 4 kB / 0.7409 GB, free: 19.55 MB / 494.1 MB Notification: Performance of Templates: time 0.02738/0.6861, allocations: 21.95 MB / 0.7623 GB, free: 13.63 MB / 0.4981 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: 6.7161887576803565]