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.0009787/0.0009787, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.348 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.001132/0.001132, allocations: 172.6 kB / 291.3 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.528/0.528, allocations: 91.92 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003731, allocations: 12 kB / 0.5054 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3637, allocations: 72.47 MB / 0.5762 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004884/0.3687, allocations: 6.411 MB / 0.5824 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.3718, allocations: 1.992 MB / 0.5844 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.3723, allocations: 17.88 kB / 0.5844 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.3729, allocations: 190.7 kB / 0.5846 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.3744, allocations: 0.7079 MB / 0.5853 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3754, allocations: 0.5819 MB / 0.5858 GB, free: 30.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.3765, allocations: 1.502 MB / 0.5873 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003695/0.3768, allocations: 288.2 kB / 0.5876 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005152/0.3774, allocations: 0.5631 MB / 0.5881 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.378, allocations: 0.7485 MB / 0.5889 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.3781, allocations: 57.59 kB / 0.5889 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003637/0.3785, allocations: 190.5 kB / 0.5891 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.3787, allocations: 253 kB / 0.5893 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.3791, allocations: 0.6264 MB / 0.59 GB, free: 28.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009042/0.38, allocations: 1.222 MB / 0.5912 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.38, allocations: 4 kB / 0.5912 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3801, allocations: 0 / 0.5912 GB, free: 27.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3801, allocations: 0 / 0.5912 GB, free: 27.84 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.008157/0.3882, allocations: 2.486 MB / 0.5936 GB, free: 26.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3883, allocations: 11.75 kB / 0.5936 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005139/0.3934, allocations: 0.7814 MB / 0.5944 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.395, allocations: 0.8866 MB / 0.5952 GB, free: 25.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/0.3953, allocations: 274 kB / 0.5955 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.3954, allocations: 90.73 kB / 0.5956 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.3976, allocations: 1.15 MB / 0.5967 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3977, allocations: 1.344 kB / 0.5967 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/0.3978, allocations: 25.97 kB / 0.5967 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.3978, allocations: 17.94 kB / 0.5967 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.3999, allocations: 1.048 MB / 0.5978 GB, free: 24.92 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.006988/0.4069, allocations: 3.934 MB / 0.6016 GB, free: 22.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008719/0.4156, allocations: 2.912 MB / 0.6044 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.4174, allocations: 0.7418 MB / 0.6052 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-05/0.4175, allocations: 20.41 kB / 0.6052 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001827/0.4193, allocations: 0.8812 MB / 0.6061 GB, free: 21.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.136e-06/0.4193, allocations: 0 / 0.6061 GB, free: 21.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03357/0.4529, allocations: 8.674 MB / 0.6145 GB, free: 19.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.453, allocations: 122.8 kB / 0.6146 GB, free: 19.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.4552, allocations: 1.079 MB / 0.6157 GB, free: 19.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.4554, allocations: 45.98 kB / 0.6157 GB, free: 19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.4558, allocations: 494.4 kB / 0.6162 GB, free: 18.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/0.4561, allocations: 356.4 kB / 0.6165 GB, free: 18.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.4563, allocations: 145.7 kB / 0.6167 GB, free: 18.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.4564, allocations: 307.2 kB / 0.617 GB, free: 17.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.4581, allocations: 0.8267 MB / 0.6178 GB, free: 17.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.4599, allocations: 0.9972 MB / 0.6188 GB, free: 17.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02304/0.483, allocations: 6.005 MB / 0.6246 GB, free: 11.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.483, allocations: 4 kB / 0.6246 GB, free: 11.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01369/0.4967, allocations: 5.168 MB / 0.6297 GB, free: 6.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.4968, allocations: 59.41 kB / 0.6297 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.4969, allocations: 4 kB / 0.6297 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005502/0.5024, allocations: 1.786 MB / 0.6315 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.5039, allocations: 299.6 kB / 0.6318 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/0.5229, allocations: 8.621 MB / 0.6402 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.5252, allocations: 230.8 kB / 0.6404 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.5255, allocations: 59.97 kB / 0.6405 GB, free: 11.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.0008159/0.5263, allocations: 308.9 kB / 0.6408 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.5267, allocations: 126.4 kB / 0.6409 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/0.5417, allocations: 4.717 MB / 0.6455 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.5418, allocations: 8 kB / 0.6455 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/0.5418, allocations: 11.94 kB / 0.6455 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.821e-05/0.5419, allocations: 3.984 kB / 0.6455 GB, free: 5.883 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.01798/0.5599, allocations: 6.317 MB / 0.6517 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.5599, allocations: 8 kB / 0.6517 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.5606, allocations: 95.89 kB / 0.6518 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006439/0.567, allocations: 1.875 MB / 0.6536 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/0.5673, allocations: 27.98 kB / 0.6536 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.022/0.5893, allocations: 9.679 MB / 0.6631 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5894, allocations: 4 kB / 0.6631 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01813/0.6075, allocations: 5.639 MB / 0.6686 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007431/0.6083, allocations: 223.4 kB / 0.6688 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005247/0.6089, allocations: 27.94 kB / 0.6688 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.6105, allocations: 139.9 kB / 0.669 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007374/0.6113, allocations: 200.8 kB / 0.6692 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.6114, allocations: 24 kB / 0.6692 GB, free: 13.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.6128, allocations: 0.7312 MB / 0.6699 GB, free: 12.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6128, allocations: 0 / 0.6699 GB, free: 12.44 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001922/0.6148, allocations: 475.4 kB / 0.6704 GB, free: 11.98 MB / 478.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.0003708/0.6152, allocations: 139.3 kB / 0.6705 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007166/0.6223, allocations: 2.779 MB / 0.6732 GB, free: 9.016 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6224, allocations: 0 / 0.6732 GB, free: 9.016 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005062/0.6274, allocations: 1.797 MB / 0.675 GB, free: 7.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.629, allocations: 122.9 kB / 0.6751 GB, free: 7.059 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.6339, allocations: 2.813 MB / 0.6778 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008556/0.6348, allocations: 1.116 MB / 0.6789 GB, free: 3.066 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.6353, allocations: 83.41 kB / 0.679 GB, free: 2.984 MB / 478.1 MB Notification: Performance of SimCode: time 1.954e-06/0.6353, allocations: 0 / 0.679 GB, free: 2.984 MB / 478.1 MB Notification: Performance of Templates: time 0.0359/0.6712, allocations: 23.26 MB / 0.7017 GB, free: 11.73 MB / 0.4981 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)