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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009415, allocations: 101.4 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4289/0.4289, allocations: 78.49 MB / 418.5 MB, free: 8.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 63.91 kB / 497.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2572, allocations: 68.14 MB / 0.5523 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005029/0.2623, allocations: 6.863 MB / 0.559 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.2654, allocations: 2.017 MB / 0.561 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005216/0.2659, allocations: 12 kB / 0.561 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.2665, allocations: 178.9 kB / 0.5612 GB, free: 11.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.2679, allocations: 0.7141 MB / 0.5619 GB, free: 10.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.2689, allocations: 0.5961 MB / 0.5624 GB, free: 9.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009583/0.2698, allocations: 1.514 MB / 0.5639 GB, free: 8.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.2702, allocations: 291.4 kB / 0.5642 GB, free: 7.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.2706, allocations: 0.5909 MB / 0.5648 GB, free: 7.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005683/0.2712, allocations: 0.7854 MB / 0.5655 GB, free: 6.594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.2714, allocations: 72 kB / 0.5656 GB, free: 6.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.2717, allocations: 195.9 kB / 0.5658 GB, free: 6.332 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.2719, allocations: 274.7 kB / 0.5661 GB, free: 6.062 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.2723, allocations: 0.625 MB / 0.5667 GB, free: 5.434 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000919/0.2732, allocations: 1.596 MB / 0.5682 GB, free: 3.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2733, allocations: 0 / 0.5682 GB, free: 3.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2733, allocations: 0 / 0.5682 GB, free: 3.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2733, allocations: 0 / 0.5682 GB, free: 3.832 MB / 378.7 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.008034/0.2813, allocations: 2.692 MB / 0.5709 GB, free: 1.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2814, allocations: 8.031 kB / 0.5709 GB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.2859, allocations: 0.7826 MB / 0.5716 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.2873, allocations: 0.8708 MB / 0.5725 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.2876, allocations: 260.2 kB / 0.5727 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.2877, allocations: 87.91 kB / 0.5728 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.2898, allocations: 1.09 MB / 0.5739 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.2898, allocations: 3.938 kB / 0.5739 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/0.2899, allocations: 32 kB / 0.5739 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.2899, allocations: 16 kB / 0.5739 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.2919, allocations: 0.9916 MB / 0.5749 GB, free: 12.83 MB / 394.7 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.0061/0.298, allocations: 3.824 MB / 0.5786 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007455/0.3055, allocations: 2.371 MB / 0.5809 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.3069, allocations: 0.6762 MB / 0.5816 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.307, allocations: 12.98 kB / 0.5816 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.3086, allocations: 0.8276 MB / 0.5824 GB, free: 4.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.416e-06/0.3086, allocations: 3.938 kB / 0.5824 GB, free: 4.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.02857/0.3372, allocations: 7.073 MB / 0.5893 GB, free: 13.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.3373, allocations: 123.8 kB / 0.5895 GB, free: 13.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.3389, allocations: 1.087 MB / 0.5905 GB, free: 12.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002132/0.3391, allocations: 45.64 kB / 0.5906 GB, free: 12.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.3395, allocations: 492.8 kB / 0.591 GB, free: 11.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.3398, allocations: 362.9 kB / 0.5914 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004915/0.3403, allocations: 279.5 kB / 0.5916 GB, free: 11.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.3404, allocations: 301.1 kB / 0.5919 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.342, allocations: 0.7691 MB / 0.5927 GB, free: 10.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.3437, allocations: 0.941 MB / 0.5936 GB, free: 9.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02365/0.3673, allocations: 5.59 MB / 0.5991 GB, free: 3.535 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3674, allocations: 0 / 0.5991 GB, free: 3.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01377/0.3812, allocations: 4.332 MB / 0.6033 GB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.957e-05/0.3813, allocations: 63.39 kB / 0.6034 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.3813, allocations: 8 kB / 0.6034 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005533/0.3868, allocations: 1.504 MB / 0.6048 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.3884, allocations: 303.5 kB / 0.6051 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.4071, allocations: 7.617 MB / 0.6126 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.4091, allocations: 198.8 kB / 0.6127 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.4092, allocations: 59.97 kB / 0.6128 GB, free: 5.273 MB / 426.7 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.0005711/0.4098, allocations: 296.3 kB / 0.6131 GB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.41, allocations: 126.4 kB / 0.6132 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.4231, allocations: 3.881 MB / 0.617 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.4232, allocations: 8 kB / 0.617 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.4232, allocations: 11.94 kB / 0.617 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.521e-05/0.4232, allocations: 3.984 kB / 0.617 GB, free: 0.9102 MB / 426.7 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.01476/0.438, allocations: 5.457 MB / 0.6223 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.438, allocations: 0 / 0.6223 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.4387, allocations: 103.8 kB / 0.6224 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005668/0.4444, allocations: 1.617 MB / 0.624 GB, free: 9.617 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.4445, allocations: 16 kB / 0.624 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/0.4636, allocations: 8.757 MB / 0.6326 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4636, allocations: 0 / 0.6326 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09538/0.559, allocations: 33.03 MB / 0.6649 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.5593, allocations: 219.3 kB / 0.6651 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.5595, allocations: 20 kB / 0.6651 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.5607, allocations: 107.9 kB / 0.6652 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005928/0.5613, allocations: 196.7 kB / 0.6654 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.013e-05/0.5614, allocations: 27.94 kB / 0.6654 GB, free: 14.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.5624, allocations: 0.7274 MB / 0.6661 GB, free: 13.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5624, allocations: 0 / 0.6661 GB, free: 13.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001891/0.5643, allocations: 0.6519 MB / 0.6667 GB, free: 13.04 MB / 490.7 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002745/0.5646, allocations: 142.1 kB / 0.6669 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006068/0.5707, allocations: 2.509 MB / 0.6693 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5707, allocations: 128 / 0.6693 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004355/0.575, allocations: 1.623 MB / 0.6709 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.576, allocations: 113.5 kB / 0.671 GB, free: 8.566 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/0.5835, allocations: 4.116 MB / 0.675 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.5842, allocations: 1.168 MB / 0.6762 GB, free: 3.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005483/0.5848, allocations: 124 kB / 0.6763 GB, free: 3.055 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.5851, allocations: 83.41 kB / 0.6764 GB, free: 2.973 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5851, allocations: 0 / 0.6764 GB, free: 2.973 MB / 490.7 MB Notification: Performance of Templates: time 0.2416/0.8267, allocations: 31.66 MB / 0.7073 GB, free: 99.6 MB / 490.7 MB 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)