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.001434/0.001434, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.613 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.001388/0.001388, allocations: 195.7 kB / 290.2 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5363/0.5363, allocations: 91.9 MB / 432.3 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 79.88 kB / 0.5025 GB, free: 7.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3924, allocations: 71.27 MB / 0.5721 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007328/0.3998, allocations: 6.571 MB / 0.5785 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005512/0.4053, allocations: 1.968 MB / 0.5805 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.4068, allocations: 11.34 kB / 0.5805 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.408, allocations: 243.6 kB / 0.5807 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002782/0.4108, allocations: 0.7992 MB / 0.5815 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.4123, allocations: 0.6297 MB / 0.5821 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.4142, allocations: 1.583 MB / 0.5836 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.4148, allocations: 327.5 kB / 0.584 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.4158, allocations: 0.64 MB / 0.5846 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009799/0.4168, allocations: 0.8256 MB / 0.5854 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.417, allocations: 120.8 kB / 0.5855 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006448/0.4177, allocations: 261.3 kB / 0.5858 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.418, allocations: 331.3 kB / 0.5861 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000629/0.4187, allocations: 0.6742 MB / 0.5867 GB, free: 28.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.4207, allocations: 1.634 MB / 0.5883 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4208, allocations: 1.25 kB / 0.5883 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4208, allocations: 0 / 0.5883 GB, free: 27.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.4208, allocations: 0 / 0.5883 GB, free: 27.8 MB / 430.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.0089/0.4297, allocations: 2.693 MB / 0.591 GB, free: 26.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4298, allocations: 7.5 kB / 0.591 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005051/0.4348, allocations: 0.7753 MB / 0.5917 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.4364, allocations: 0.8768 MB / 0.5926 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.4367, allocations: 266 kB / 0.5928 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.4369, allocations: 86.78 kB / 0.5929 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.439, allocations: 1.087 MB / 0.594 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.439, allocations: 0 / 0.594 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.4391, allocations: 27.12 kB / 0.594 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.4392, allocations: 17.91 kB / 0.594 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.4412, allocations: 0.9908 MB / 0.595 GB, free: 24.74 MB / 430.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.007062/0.4483, allocations: 3.851 MB / 0.5987 GB, free: 22.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007641/0.4559, allocations: 2.366 MB / 0.6011 GB, free: 21.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.4575, allocations: 0.6801 MB / 0.6017 GB, free: 21.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.4576, allocations: 16.58 kB / 0.6017 GB, free: 21.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001768/0.4594, allocations: 0.8204 MB / 0.6025 GB, free: 21.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.346e-06/0.4594, allocations: 0 / 0.6025 GB, free: 21.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03042/0.4898, allocations: 7.083 MB / 0.6095 GB, free: 19.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.4899, allocations: 118.3 kB / 0.6096 GB, free: 19.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.4919, allocations: 1.081 MB / 0.6106 GB, free: 19.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002585/0.4922, allocations: 45.83 kB / 0.6107 GB, free: 19.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.4926, allocations: 499.5 kB / 0.6111 GB, free: 18.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.493, allocations: 356.6 kB / 0.6115 GB, free: 18.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005366/0.4935, allocations: 290 kB / 0.6118 GB, free: 18.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.4936, allocations: 303.2 kB / 0.612 GB, free: 18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.4953, allocations: 0.7589 MB / 0.6128 GB, free: 17.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.497, allocations: 0.9485 MB / 0.6137 GB, free: 17.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02342/0.5204, allocations: 5.585 MB / 0.6192 GB, free: 14.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.5205, allocations: 4 kB / 0.6192 GB, free: 14.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01217/0.5327, allocations: 4.328 MB / 0.6234 GB, free: 9.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/0.5328, allocations: 59.41 kB / 0.6235 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.5328, allocations: 0 / 0.6235 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005033/0.5378, allocations: 1.516 MB / 0.6249 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.5394, allocations: 299.6 kB / 0.6252 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.5569, allocations: 8.284 MB / 0.6333 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/0.5592, allocations: 198.8 kB / 0.6335 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.5593, allocations: 55.97 kB / 0.6336 GB, free: 15.1 MB / 446.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.0006762/0.56, allocations: 300.3 kB / 0.6338 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.5603, allocations: 130.3 kB / 0.634 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.5734, allocations: 3.865 MB / 0.6377 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.5735, allocations: 12 kB / 0.6378 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.5735, allocations: 4 kB / 0.6378 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.5735, allocations: 7.922 kB / 0.6378 GB, free: 10.74 MB / 446.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.01553/0.589, allocations: 5.473 MB / 0.6431 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.5891, allocations: 0 / 0.6431 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.5898, allocations: 99.89 kB / 0.6432 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005878/0.5957, allocations: 1.594 MB / 0.6448 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.5959, allocations: 20 kB / 0.6448 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.022/0.6179, allocations: 9.654 MB / 0.6542 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.618, allocations: 0 / 0.6542 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/0.6338, allocations: 4.721 MB / 0.6588 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008441/0.6347, allocations: 227.3 kB / 0.659 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005822/0.6353, allocations: 16 kB / 0.659 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.6369, allocations: 108 kB / 0.6592 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007966/0.6377, allocations: 200.7 kB / 0.6593 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.6379, allocations: 24 kB / 0.6594 GB, free: 4.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001641/0.6395, allocations: 0.7274 MB / 0.6601 GB, free: 3.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6396, allocations: 4 kB / 0.6601 GB, free: 3.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002189/0.6418, allocations: 483.5 kB / 0.6605 GB, free: 2.945 MB / 462.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 {(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.0003779/0.6421, allocations: 129 kB / 0.6607 GB, free: 2.812 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007212/0.6494, allocations: 2.548 MB / 0.6632 GB, free: 232 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6494, allocations: 0 / 0.6632 GB, free: 232 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004618/0.654, allocations: 1.582 MB / 0.6647 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.6553, allocations: 127.1 kB / 0.6648 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.6604, allocations: 2.305 MB / 0.6671 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/0.6613, allocations: 1.12 MB / 0.6682 GB, free: 10.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.6617, allocations: 87.41 kB / 0.6682 GB, free: 10.91 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6617, allocations: 0 / 0.6682 GB, free: 10.91 MB / 478.1 MB Notification: Performance of Templates: time 0.03445/0.6961, allocations: 23.39 MB / 0.6911 GB, free: 3.527 MB / 494.1 MB 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)