Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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) 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.399/1.399, allocations: 222.9 MB / 240.1 MB, free: 4.578 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.001602/0.001601, allocations: 180.5 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5285/0.5285, allocations: 91.9 MB / 432.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 83.31 kB / 0.5734 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.165, allocations: 71.29 MB / 0.643 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007304/0.1723, allocations: 6.567 MB / 0.6494 GB, free: 13 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004345/0.1767, allocations: 1.97 MB / 0.6514 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008381/0.1776, allocations: 11.94 kB / 0.6514 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007852/0.1784, allocations: 238 kB / 0.6516 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.1806, allocations: 0.808 MB / 0.6524 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.182, allocations: 0.625 MB / 0.653 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.1836, allocations: 1.592 MB / 0.6546 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.1841, allocations: 322.4 kB / 0.6549 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007801/0.1849, allocations: 0.6613 MB / 0.6555 GB, free: 6.762 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008173/0.1857, allocations: 0.8246 MB / 0.6563 GB, free: 5.934 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.1859, allocations: 120 kB / 0.6564 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.1863, allocations: 259.9 kB / 0.6567 GB, free: 5.562 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.1866, allocations: 322.6 kB / 0.657 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005293/0.1872, allocations: 0.6719 MB / 0.6576 GB, free: 4.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.1888, allocations: 1.658 MB / 0.6593 GB, free: 2.906 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1888, allocations: 7.984 kB / 0.6593 GB, free: 2.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1888, allocations: 0 / 0.6593 GB, free: 2.898 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.1888, allocations: 0 / 0.6593 GB, free: 2.898 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.008567/0.1974, allocations: 2.686 MB / 0.6619 GB, free: 148 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1975, allocations: 11.97 kB / 0.6619 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.2023, allocations: 0.7787 MB / 0.6627 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.204, allocations: 0.8825 MB / 0.6635 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.2043, allocations: 256.2 kB / 0.6638 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.2044, allocations: 91.89 kB / 0.6639 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.2065, allocations: 1.083 MB / 0.6649 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.2065, allocations: 0 / 0.6649 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-05/0.2066, allocations: 35.98 kB / 0.665 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.2066, allocations: 16 kB / 0.665 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.2086, allocations: 0.9877 MB / 0.6659 GB, free: 11.9 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.006885/0.2155, allocations: 3.82 MB / 0.6697 GB, free: 7.898 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007451/0.223, allocations: 2.376 MB / 0.672 GB, free: 5.426 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.2244, allocations: 0.6762 MB / 0.6726 GB, free: 4.746 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-05/0.2245, allocations: 20.97 kB / 0.6727 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.2261, allocations: 0.8215 MB / 0.6735 GB, free: 3.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.856e-06/0.2261, allocations: 0 / 0.6735 GB, free: 3.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02996/0.2561, allocations: 7.069 MB / 0.6804 GB, free: 12.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.2562, allocations: 123.7 kB / 0.6805 GB, free: 12.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.2581, allocations: 1.083 MB / 0.6815 GB, free: 11.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.2583, allocations: 49.69 kB / 0.6816 GB, free: 11.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.2587, allocations: 488.8 kB / 0.6821 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/0.2591, allocations: 355.1 kB / 0.6824 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/0.2596, allocations: 287.4 kB / 0.6827 GB, free: 10.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2597, allocations: 309 kB / 0.683 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.2613, allocations: 0.7613 MB / 0.6837 GB, free: 9.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.2629, allocations: 0.9343 MB / 0.6846 GB, free: 8.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02366/0.2866, allocations: 5.575 MB / 0.6901 GB, free: 2.637 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.2867, allocations: 3.938 kB / 0.6901 GB, free: 2.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01309/0.2998, allocations: 4.328 MB / 0.6943 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/0.2999, allocations: 64.8 kB / 0.6944 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.2999, allocations: 4 kB / 0.6944 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005381/0.3053, allocations: 1.513 MB / 0.6958 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.307, allocations: 299.5 kB / 0.6961 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/0.3262, allocations: 8.264 MB / 0.7042 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.3284, allocations: 202.8 kB / 0.7044 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.3285, allocations: 55.97 kB / 0.7044 GB, free: 3.715 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.0007462/0.3293, allocations: 300.4 kB / 0.7047 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.3296, allocations: 138.3 kB / 0.7049 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.3422, allocations: 3.869 MB / 0.7086 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.3423, allocations: 12 kB / 0.7086 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.3423, allocations: 8 kB / 0.7087 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/0.3423, allocations: 3.984 kB / 0.7087 GB, free: 15.35 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.0145/0.3568, allocations: 5.467 MB / 0.714 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.3569, allocations: 0 / 0.714 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/0.3576, allocations: 103.8 kB / 0.7141 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005438/0.363, allocations: 1.582 MB / 0.7156 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.3633, allocations: 27.98 kB / 0.7157 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/0.383, allocations: 9.626 MB / 0.7251 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.383, allocations: 8 kB / 0.7251 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.397, allocations: 4.735 MB / 0.7297 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005495/0.3976, allocations: 223.3 kB / 0.7299 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.3978, allocations: 19.98 kB / 0.7299 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.399, allocations: 107.9 kB / 0.73 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006186/0.3996, allocations: 196.7 kB / 0.7302 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.3997, allocations: 24 kB / 0.7302 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001079/0.4008, allocations: 0.7274 MB / 0.731 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4008, allocations: 0 / 0.731 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001524/0.4023, allocations: 475.5 kB / 0.7314 GB, free: 7.578 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.0002956/0.4026, allocations: 135.2 kB / 0.7315 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006083/0.4087, allocations: 2.505 MB / 0.734 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4087, allocations: 0 / 0.734 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004178/0.4129, allocations: 1.59 MB / 0.7355 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.414, allocations: 117.1 kB / 0.7357 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.4182, allocations: 2.285 MB / 0.7379 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.419, allocations: 1.12 MB / 0.739 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.4193, allocations: 87.41 kB / 0.7391 GB, free: 15.59 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.4193, allocations: 0 / 0.7391 GB, free: 15.59 MB / 0.545 GB Notification: Performance of Templates: time 0.02796/0.4473, allocations: 23.51 MB / 0.762 GB, free: 8.066 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)