Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.00119, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.342/1.342, allocations: 222.9 MB / 240.1 MB, free: 4.383 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.001609/0.001609, allocations: 192.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5305/0.5305, allocations: 91.91 MB / 432.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 83.48 kB / 0.5734 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1431, allocations: 71.3 MB / 0.643 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007441/0.1505, allocations: 6.57 MB / 0.6494 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003984/0.1546, allocations: 1.966 MB / 0.6514 GB, free: 11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.1551, allocations: 12 kB / 0.6514 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007072/0.1558, allocations: 237.9 kB / 0.6516 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.1576, allocations: 0.7995 MB / 0.6524 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1589, allocations: 0.6343 MB / 0.653 GB, free: 9.324 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.1605, allocations: 1.585 MB / 0.6545 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.1609, allocations: 326.4 kB / 0.6548 GB, free: 7.406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/0.1617, allocations: 0.6613 MB / 0.6555 GB, free: 6.742 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008696/0.1625, allocations: 0.8206 MB / 0.6563 GB, free: 5.918 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1627, allocations: 120 kB / 0.6564 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.1632, allocations: 259.8 kB / 0.6567 GB, free: 5.547 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.1635, allocations: 338.6 kB / 0.657 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.1641, allocations: 0.668 MB / 0.6576 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.1657, allocations: 1.658 MB / 0.6593 GB, free: 2.879 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1657, allocations: 0 / 0.6593 GB, free: 2.879 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1657, allocations: 0 / 0.6593 GB, free: 2.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.1658, allocations: 0 / 0.6593 GB, free: 2.879 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.008512/0.1743, allocations: 2.688 MB / 0.6619 GB, free: 124 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1743, allocations: 8.031 kB / 0.6619 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004937/0.1793, allocations: 0.7787 MB / 0.6626 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.1807, allocations: 0.8903 MB / 0.6635 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.181, allocations: 252.2 kB / 0.6638 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.1812, allocations: 87.91 kB / 0.6638 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.1833, allocations: 1.086 MB / 0.6649 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1833, allocations: 0 / 0.6649 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-05/0.1834, allocations: 32 kB / 0.6649 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.1834, allocations: 16 kB / 0.6649 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.1854, allocations: 0.9916 MB / 0.6659 GB, free: 11.88 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.006606/0.1921, allocations: 3.835 MB / 0.6697 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007323/0.1994, allocations: 2.364 MB / 0.672 GB, free: 5.398 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.2008, allocations: 0.6762 MB / 0.6726 GB, free: 4.719 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.001e-05/0.2009, allocations: 20.98 kB / 0.6726 GB, free: 4.699 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.2025, allocations: 0.8194 MB / 0.6734 GB, free: 3.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.135e-06/0.2025, allocations: 0 / 0.6734 GB, free: 3.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02896/0.2315, allocations: 7.069 MB / 0.6804 GB, free: 12.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.2316, allocations: 127.8 kB / 0.6805 GB, free: 12.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.2335, allocations: 1.079 MB / 0.6815 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002492/0.2338, allocations: 45.7 kB / 0.6816 GB, free: 11.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/0.2343, allocations: 496.8 kB / 0.682 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/0.2348, allocations: 355.1 kB / 0.6824 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008975/0.2358, allocations: 283.4 kB / 0.6827 GB, free: 10.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2359, allocations: 301.1 kB / 0.6829 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.2378, allocations: 0.773 MB / 0.6837 GB, free: 9.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.2398, allocations: 0.9304 MB / 0.6846 GB, free: 8.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02449/0.2643, allocations: 5.575 MB / 0.69 GB, free: 2.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.2644, allocations: 3.938 kB / 0.6901 GB, free: 2.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01411/0.2785, allocations: 4.332 MB / 0.6943 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.2786, allocations: 59.41 kB / 0.6943 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.2786, allocations: 4 kB / 0.6943 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005564/0.2842, allocations: 1.512 MB / 0.6958 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.2858, allocations: 303.5 kB / 0.6961 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.3061, allocations: 8.264 MB / 0.7042 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.3083, allocations: 198.8 kB / 0.7044 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/0.3088, allocations: 63.97 kB / 0.7044 GB, free: 3.684 MB / 0.4981 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: 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.001228/0.31, allocations: 299.3 kB / 0.7047 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.3106, allocations: 130.3 kB / 0.7048 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/0.3245, allocations: 3.873 MB / 0.7086 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.3245, allocations: 12 kB / 0.7086 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-05/0.3246, allocations: 8 kB / 0.7086 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.3246, allocations: 3.984 kB / 0.7086 GB, free: 15.33 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.01585/0.3405, allocations: 5.463 MB / 0.714 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.3405, allocations: 0 / 0.714 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/0.3412, allocations: 103.8 kB / 0.7141 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005828/0.3471, allocations: 1.583 MB / 0.7156 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/0.3473, allocations: 27.98 kB / 0.7157 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02163/0.369, allocations: 9.626 MB / 0.7251 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.369, allocations: 0 / 0.7251 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/0.3844, allocations: 4.742 MB / 0.7297 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006282/0.3851, allocations: 215.3 kB / 0.7299 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/0.3857, allocations: 24.06 kB / 0.7299 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/0.3872, allocations: 115.9 kB / 0.73 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007036/0.3879, allocations: 188.7 kB / 0.7302 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/0.3881, allocations: 27.98 kB / 0.7302 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001363/0.3894, allocations: 0.7235 MB / 0.7309 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3894, allocations: 0 / 0.7309 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001892/0.3913, allocations: 483.5 kB / 0.7314 GB, free: 7.555 MB / 0.5294 GB 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003801/0.3917, allocations: 131.2 kB / 0.7315 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006787/0.3985, allocations: 2.509 MB / 0.734 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3986, allocations: 0 / 0.734 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004683/0.4033, allocations: 1.582 MB / 0.7355 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.4047, allocations: 118 kB / 0.7356 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004992/0.4098, allocations: 2.288 MB / 0.7379 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009969/0.4108, allocations: 1.12 MB / 0.739 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/0.4113, allocations: 83.41 kB / 0.739 GB, free: 15.57 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.4113, allocations: 0 / 0.739 GB, free: 15.57 MB / 0.545 GB Notification: Performance of Templates: time 0.03565/0.4469, allocations: 23.5 MB / 0.762 GB, free: 8.055 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)