Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007198/0.007198, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 239.4 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 192.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5383/0.5383, allocations: 91.9 MB / 431.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 81.5 kB / 0.5727 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1526, allocations: 71.27 MB / 0.6423 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007502/0.1602, allocations: 6.679 MB / 0.6489 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.1648, allocations: 1.99 MB / 0.6508 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.1659, allocations: 15.94 kB / 0.6508 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008165/0.1667, allocations: 238 kB / 0.651 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.1692, allocations: 0.8601 MB / 0.6519 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.1706, allocations: 0.6328 MB / 0.6525 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.1728, allocations: 1.647 MB / 0.6541 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005063/0.1733, allocations: 334.4 kB / 0.6544 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009761/0.1743, allocations: 0.6769 MB / 0.6551 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009316/0.1752, allocations: 0.8557 MB / 0.6559 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.1755, allocations: 128 kB / 0.656 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/0.176, allocations: 267.8 kB / 0.6563 GB, free: 5.258 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.1763, allocations: 346.6 kB / 0.6566 GB, free: 4.918 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.1769, allocations: 0.6874 MB / 0.6573 GB, free: 4.227 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.1787, allocations: 1.705 MB / 0.659 GB, free: 2.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.1787, allocations: 0 / 0.659 GB, free: 2.516 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1787, allocations: 0 / 0.659 GB, free: 2.516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.1787, allocations: 0 / 0.659 GB, free: 2.516 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009604/0.1883, allocations: 2.75 MB / 0.6616 GB, free: 15.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1884, allocations: 12.03 kB / 0.6617 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.1935, allocations: 0.7787 MB / 0.6624 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.1954, allocations: 0.9178 MB / 0.6633 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.1957, allocations: 252.1 kB / 0.6636 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.1959, allocations: 87.91 kB / 0.6636 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.1982, allocations: 1.106 MB / 0.6647 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1982, allocations: 3.938 kB / 0.6647 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.692e-05/0.1983, allocations: 28 kB / 0.6648 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1983, allocations: 20 kB / 0.6648 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.2005, allocations: 0.9955 MB / 0.6657 GB, free: 11.39 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.007318/0.2078, allocations: 3.859 MB / 0.6695 GB, free: 7.352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007811/0.2156, allocations: 2.387 MB / 0.6718 GB, free: 4.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.2173, allocations: 0.6878 MB / 0.6725 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.2175, allocations: 16.98 kB / 0.6725 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001883/0.2194, allocations: 0.8294 MB / 0.6733 GB, free: 3.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.437e-06/0.2194, allocations: 0 / 0.6733 GB, free: 3.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.03049/0.2499, allocations: 7.221 MB / 0.6804 GB, free: 12.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.25, allocations: 111.8 kB / 0.6805 GB, free: 11.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.2522, allocations: 1.127 MB / 0.6816 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.2525, allocations: 49.73 kB / 0.6816 GB, free: 10.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.2529, allocations: 0.493 MB / 0.6821 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/0.2535, allocations: 362.8 kB / 0.6825 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00086/0.2544, allocations: 295.4 kB / 0.6828 GB, free: 9.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2545, allocations: 305.1 kB / 0.683 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.2564, allocations: 0.7769 MB / 0.6838 GB, free: 8.469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.2583, allocations: 0.9615 MB / 0.6847 GB, free: 7.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02568/0.284, allocations: 5.79 MB / 0.6904 GB, free: 1.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.2841, allocations: 3.938 kB / 0.6904 GB, free: 1.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01507/0.2992, allocations: 4.45 MB / 0.6947 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/0.2993, allocations: 64.75 kB / 0.6948 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.2993, allocations: 4 kB / 0.6948 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006373/0.3057, allocations: 1.635 MB / 0.6964 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.3073, allocations: 291.6 kB / 0.6967 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.3291, allocations: 8.588 MB / 0.7051 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.3313, allocations: 202.7 kB / 0.7053 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/0.3317, allocations: 59.91 kB / 0.7053 GB, free: 2.105 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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 (167): * Single equations (assignments): 164 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008816/0.3326, allocations: 310.3 kB / 0.7056 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.333, allocations: 134.5 kB / 0.7057 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.3463, allocations: 3.896 MB / 0.7096 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.3463, allocations: 12 kB / 0.7096 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.592e-05/0.3464, allocations: 8 kB / 0.7096 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/0.3464, allocations: 7.969 kB / 0.7096 GB, free: 13.7 MB / 0.5137 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.01601/0.3624, allocations: 5.514 MB / 0.715 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.3625, allocations: 0 / 0.715 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.3632, allocations: 103.9 kB / 0.7151 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005806/0.369, allocations: 1.595 MB / 0.7166 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/0.3693, allocations: 23.98 kB / 0.7166 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/0.3911, allocations: 9.649 MB / 0.7261 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3912, allocations: 4 kB / 0.7261 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.4067, allocations: 4.774 MB / 0.7307 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.4073, allocations: 223.2 kB / 0.7309 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/0.4078, allocations: 35.98 kB / 0.731 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.4093, allocations: 107.9 kB / 0.7311 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007115/0.4101, allocations: 196.7 kB / 0.7313 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.4102, allocations: 28 kB / 0.7313 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001413/0.4116, allocations: 0.7592 MB / 0.732 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4117, allocations: 0 / 0.732 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001961/0.4136, allocations: 483.6 kB / 0.7325 GB, free: 5.754 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003899/0.414, allocations: 137.7 kB / 0.7326 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007265/0.4213, allocations: 2.598 MB / 0.7352 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4213, allocations: 4.062 kB / 0.7352 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004622/0.426, allocations: 1.59 MB / 0.7367 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.4274, allocations: 128.6 kB / 0.7368 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.4323, allocations: 2.352 MB / 0.7391 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.4332, allocations: 1.128 MB / 0.7402 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004982/0.4337, allocations: 124.1 kB / 0.7404 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.434, allocations: 75.42 kB / 0.7404 GB, free: 13.48 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.434, allocations: 0 / 0.7404 GB, free: 13.48 MB / 0.545 GB Notification: Performance of Templates: time 0.04078/0.4748, allocations: 24.42 MB / 0.7643 GB, free: 5.074 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)