Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.001775/0.001775, allocations: 104 kB / 16.45 MB, free: 6.5 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.394/1.394, allocations: 225.6 MB / 244.8 MB, free: 14.15 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.001493/0.001493, allocations: 195.9 kB / 299.8 MB, free: 9.824 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.4314/0.4314, allocations: 79.73 MB / 434.4 MB, free: 6.246 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_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 83.86 kB / 0.5789 GB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 72.09 MB / 0.6493 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00796/0.1361, allocations: 6.581 MB / 0.6557 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.14, allocations: 1.974 MB / 0.6576 GB, free: 8.664 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004142/0.1405, allocations: 8 kB / 0.6576 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.1411, allocations: 241.9 kB / 0.6579 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.1431, allocations: 0.864 MB / 0.6587 GB, free: 7.555 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.001358/0.1445, allocations: 0.6143 MB / 0.6593 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001975/0.1465, allocations: 1.588 MB / 0.6609 GB, free: 5.352 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/0.1469, allocations: 234.4 kB / 0.6611 GB, free: 5.109 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008921/0.1478, allocations: 0.6574 MB / 0.6617 GB, free: 4.449 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.1488, allocations: 0.8362 MB / 0.6625 GB, free: 3.609 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.149, allocations: 120 kB / 0.6627 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.1495, allocations: 259.9 kB / 0.6629 GB, free: 3.238 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.1498, allocations: 334.6 kB / 0.6632 GB, free: 2.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.1505, allocations: 0.6679 MB / 0.6639 GB, free: 2.238 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.1523, allocations: 1.665 MB / 0.6655 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.1524, allocations: 3.984 kB / 0.6655 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1524, allocations: 4 kB / 0.6655 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.1524, allocations: 0 / 0.6655 GB, free: 0.5586 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009071/0.1614, allocations: 2.722 MB / 0.6682 GB, free: 13.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1615, allocations: 16.02 kB / 0.6682 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005212/0.1667, allocations: 0.7757 MB / 0.6689 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.1683, allocations: 0.899 MB / 0.6698 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/0.1686, allocations: 260.1 kB / 0.6701 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.1688, allocations: 95.89 kB / 0.6702 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.1712, allocations: 1.09 MB / 0.6712 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1712, allocations: 0 / 0.6712 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/0.1713, allocations: 28 kB / 0.6712 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.1713, allocations: 23.98 kB / 0.6713 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.1735, allocations: 0.9877 MB / 0.6722 GB, free: 9.496 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.006937/0.1805, allocations: 3.801 MB / 0.6759 GB, free: 5.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007738/0.1882, allocations: 2.301 MB / 0.6782 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.1897, allocations: 0.6175 MB / 0.6788 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.1898, allocations: 20.98 kB / 0.6788 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.1916, allocations: 0.8255 MB / 0.6796 GB, free: 1.633 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.615e-06/0.1916, allocations: 0 / 0.6796 GB, free: 1.633 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.03024/0.2218, allocations: 7.054 MB / 0.6865 GB, free: 10.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/0.2219, allocations: 115.8 kB / 0.6866 GB, free: 10.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.2239, allocations: 1.083 MB / 0.6877 GB, free: 9.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.2241, allocations: 45.7 kB / 0.6877 GB, free: 9.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/0.2246, allocations: 0.4975 MB / 0.6882 GB, free: 8.727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/0.2251, allocations: 372.8 kB / 0.6886 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006987/0.2258, allocations: 287.5 kB / 0.6888 GB, free: 8.074 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2259, allocations: 305.1 kB / 0.6891 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.2277, allocations: 0.7574 MB / 0.6899 GB, free: 7.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.2298, allocations: 0.9421 MB / 0.6908 GB, free: 6.031 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02503/0.2548, allocations: 5.579 MB / 0.6962 GB, free: 376 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.2548, allocations: 0 / 0.6962 GB, free: 376 kB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.2744/0.5292, allocations: 4.313 MB / 0.7004 GB, free: 43.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.5292, allocations: 59.69 kB / 0.7005 GB, free: 43.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5292, allocations: 4.047 kB / 0.7005 GB, free: 43.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005916/0.5351, allocations: 1.507 MB / 0.702 GB, free: 43.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.5367, allocations: 298 kB / 0.7023 GB, free: 43.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.557, allocations: 8.282 MB / 0.7104 GB, free: 40.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.5588, allocations: 205.2 kB / 0.7105 GB, free: 40.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.559, allocations: 55.8 kB / 0.7106 GB, free: 40.15 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: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * 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.0005509/0.5595, allocations: 302.8 kB / 0.7109 GB, free: 39.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.5597, allocations: 131.3 kB / 0.711 GB, free: 39.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.5728, allocations: 3.847 MB / 0.7148 GB, free: 38.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.5728, allocations: 16.16 kB / 0.7148 GB, free: 38.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.5728, allocations: 6.406 kB / 0.7148 GB, free: 38.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.5728, allocations: 6.859 kB / 0.7148 GB, free: 38.91 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.01443/0.5872, allocations: 5.428 MB / 0.7201 GB, free: 36.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5873, allocations: 8.844 kB / 0.7201 GB, free: 36.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.5879, allocations: 99.08 kB / 0.7202 GB, free: 36.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005497/0.5934, allocations: 1.6 MB / 0.7218 GB, free: 35.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.5935, allocations: 27.17 kB / 0.7218 GB, free: 35.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/0.6122, allocations: 9.619 MB / 0.7312 GB, free: 29.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6122, allocations: 4 kB / 0.7312 GB, free: 29.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/0.6261, allocations: 4.711 MB / 0.7358 GB, free: 24.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.6265, allocations: 235 kB / 0.736 GB, free: 24.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.6268, allocations: 23.94 kB / 0.736 GB, free: 24.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.6281, allocations: 103.9 kB / 0.7361 GB, free: 24.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005585/0.6286, allocations: 203.5 kB / 0.7363 GB, free: 24.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/0.6287, allocations: 31.98 kB / 0.7364 GB, free: 24.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.6297, allocations: 0.7235 MB / 0.7371 GB, free: 23.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6297, allocations: 96 / 0.7371 GB, free: 23.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001459/0.6312, allocations: 480.5 kB / 0.7375 GB, free: 23.12 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002509/0.6314, allocations: 137.3 kB / 0.7377 GB, free: 22.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005682/0.6371, allocations: 2.353 MB / 0.74 GB, free: 20.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6371, allocations: 0 / 0.74 GB, free: 20.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003987/0.6411, allocations: 1.544 MB / 0.7415 GB, free: 19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009819/0.6421, allocations: 128 kB / 0.7416 GB, free: 18.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.6456, allocations: 2.292 MB / 0.7438 GB, free: 16.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.646, allocations: 1.12 MB / 0.7449 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003886/0.6464, allocations: 120.1 kB / 0.745 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.6467, allocations: 75.42 kB / 0.7451 GB, free: 15.26 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6467, allocations: 0 / 0.7451 GB, free: 15.26 MB / 494.1 MB Notification: Performance of Templates: time 0.03543/0.6821, allocations: 24.02 MB / 0.7686 GB, free: 7.281 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.172197627834976]