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.001052/0.001052, allocations: 106 kB / 16.37 MB, free: 6.477 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.303/1.303, allocations: 222.9 MB / 240 MB, free: 4.605 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.00132/0.001321, allocations: 188.5 kB / 290.3 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4871/0.4871, allocations: 91.9 MB / 432.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 80.09 kB / 0.5033 GB, free: 7.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3189, allocations: 71.27 MB / 0.5729 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005432/0.3244, allocations: 6.58 MB / 0.5793 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.3274, allocations: 1.97 MB / 0.5812 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.3277, allocations: 8.469 kB / 0.5812 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.3284, allocations: 239.2 kB / 0.5815 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.3298, allocations: 0.8048 MB / 0.5823 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3308, allocations: 0.6304 MB / 0.5829 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.3319, allocations: 1.587 MB / 0.5844 GB, free: 30.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.3323, allocations: 328.5 kB / 0.5847 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005193/0.3328, allocations: 0.6568 MB / 0.5854 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.3335, allocations: 0.8158 MB / 0.5862 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.3336, allocations: 121.6 kB / 0.5863 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.334, allocations: 252.7 kB / 0.5865 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.3342, allocations: 332.5 kB / 0.5869 GB, free: 29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.3346, allocations: 0.6754 MB / 0.5875 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.3357, allocations: 1.66 MB / 0.5891 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3358, allocations: 0 / 0.5891 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3358, allocations: 1.312 kB / 0.5891 GB, free: 27.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.3358, allocations: 0 / 0.5891 GB, free: 27.79 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.007816/0.3436, allocations: 2.686 MB / 0.5918 GB, free: 26.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3437, allocations: 9.562 kB / 0.5918 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/0.3485, allocations: 0.7738 MB / 0.5925 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.3499, allocations: 0.887 MB / 0.5934 GB, free: 25.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.3502, allocations: 257 kB / 0.5936 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.3503, allocations: 86.62 kB / 0.5937 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.3524, allocations: 1.086 MB / 0.5948 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.3525, allocations: 0 / 0.5948 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.3526, allocations: 26.41 kB / 0.5948 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.3526, allocations: 21.28 kB / 0.5948 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.3546, allocations: 0.9904 MB / 0.5958 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.006585/0.3612, allocations: 3.83 MB / 0.5995 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007082/0.3683, allocations: 2.37 MB / 0.6018 GB, free: 21.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.3697, allocations: 0.6752 MB / 0.6025 GB, free: 21.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.3699, allocations: 17.7 kB / 0.6025 GB, free: 21.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.3714, allocations: 0.8164 MB / 0.6033 GB, free: 21.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.956e-06/0.3714, allocations: 3.938 kB / 0.6033 GB, free: 21.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.0287/0.4001, allocations: 7.082 MB / 0.6102 GB, free: 19.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.4002, allocations: 122 kB / 0.6104 GB, free: 19.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.4019, allocations: 1.081 MB / 0.6114 GB, free: 19.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001865/0.4021, allocations: 47.56 kB / 0.6115 GB, free: 19.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.4024, allocations: 493.3 kB / 0.6119 GB, free: 18.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.4027, allocations: 357 kB / 0.6123 GB, free: 18.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004696/0.4031, allocations: 293.5 kB / 0.6125 GB, free: 18.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.4032, allocations: 302.3 kB / 0.6128 GB, free: 17.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.4046, allocations: 0.7663 MB / 0.6136 GB, free: 17.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.4062, allocations: 0.934 MB / 0.6145 GB, free: 16.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02177/0.4279, allocations: 5.573 MB / 0.6199 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.428, allocations: 0 / 0.6199 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01137/0.4394, allocations: 4.328 MB / 0.6242 GB, free: 9.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.4395, allocations: 63.39 kB / 0.6242 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.4395, allocations: 4 kB / 0.6242 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004688/0.4442, allocations: 1.509 MB / 0.6257 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.4456, allocations: 299.5 kB / 0.626 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/0.4616, allocations: 8.268 MB / 0.6341 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.4636, allocations: 198.8 kB / 0.6343 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.4637, allocations: 59.97 kB / 0.6343 GB, free: 14.84 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.0005871/0.4643, allocations: 304.3 kB / 0.6346 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.4646, allocations: 138.3 kB / 0.6347 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.4765, allocations: 3.865 MB / 0.6385 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.4766, allocations: 8 kB / 0.6385 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4766, allocations: 8 kB / 0.6385 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.4766, allocations: 7.969 kB / 0.6385 GB, free: 10.48 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.01406/0.4907, allocations: 5.459 MB / 0.6439 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.4907, allocations: 0 / 0.6439 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.4913, allocations: 103.8 kB / 0.644 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005207/0.4966, allocations: 1.594 MB / 0.6455 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.4967, allocations: 20 kB / 0.6455 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/0.5158, allocations: 9.634 MB / 0.6549 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5158, allocations: 0 / 0.6549 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.5291, allocations: 4.738 MB / 0.6596 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.5297, allocations: 219.3 kB / 0.6598 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/0.53, allocations: 24 kB / 0.6598 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.5313, allocations: 107.9 kB / 0.6599 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005964/0.5319, allocations: 192.7 kB / 0.6601 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.944e-05/0.532, allocations: 28 kB / 0.6601 GB, free: 3.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001186/0.5332, allocations: 0.7274 MB / 0.6608 GB, free: 3.176 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5332, allocations: 0 / 0.6608 GB, free: 3.176 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00146/0.5347, allocations: 483.5 kB / 0.6613 GB, free: 2.703 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.0002708/0.5349, allocations: 133.5 kB / 0.6614 GB, free: 2.566 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005681/0.5406, allocations: 2.509 MB / 0.6639 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5406, allocations: 0 / 0.6639 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003859/0.5445, allocations: 1.59 MB / 0.6654 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.5455, allocations: 121.3 kB / 0.6655 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.5495, allocations: 2.247 MB / 0.6677 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.5502, allocations: 1.116 MB / 0.6688 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004213/0.5506, allocations: 120 kB / 0.6689 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.5509, allocations: 83.41 kB / 0.669 GB, free: 10.64 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5509, allocations: 0 / 0.669 GB, free: 10.64 MB / 478.1 MB Notification: Performance of Templates: time 0.03555/0.5864, allocations: 23.43 MB / 0.6919 GB, free: 3.23 MB / 494.1 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)