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.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.39/1.39, allocations: 222.9 MB / 238.9 MB, free: 4.77 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.002063/0.002063, allocations: 188.5 kB / 289.1 MB, free: 2.531 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5577/0.5577, allocations: 91.9 MB / 431.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 75.88 kB / 0.5012 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4717, allocations: 71.26 MB / 0.5708 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00663/0.4784, allocations: 6.89 MB / 0.5775 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004828/0.4832, allocations: 2.009 MB / 0.5795 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.4844, allocations: 11.62 kB / 0.5795 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008783/0.4854, allocations: 186.6 kB / 0.5797 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.4875, allocations: 0.7223 MB / 0.5804 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.4888, allocations: 0.5833 MB / 0.5809 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.4905, allocations: 1.5 MB / 0.5824 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.4911, allocations: 297.4 kB / 0.5827 GB, free: 29.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.4921, allocations: 0.5874 MB / 0.5833 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008386/0.493, allocations: 0.7788 MB / 0.584 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.4932, allocations: 75.47 kB / 0.5841 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006267/0.4938, allocations: 203.3 kB / 0.5843 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.4941, allocations: 277.1 kB / 0.5846 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.4947, allocations: 0.6241 MB / 0.5852 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.4962, allocations: 1.592 MB / 0.5867 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.4962, allocations: 1.219 kB / 0.5867 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4963, allocations: 0 / 0.5867 GB, free: 27.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.4963, allocations: 0 / 0.5867 GB, free: 27.85 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.00979/0.5061, allocations: 2.683 MB / 0.5893 GB, free: 26.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.5062, allocations: 15.5 kB / 0.5894 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/0.5115, allocations: 0.7686 MB / 0.5901 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.5136, allocations: 0.8862 MB / 0.591 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.514, allocations: 257 kB / 0.5912 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.5142, allocations: 86.28 kB / 0.5913 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.5164, allocations: 1.092 MB / 0.5924 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.5165, allocations: 0 / 0.5924 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/0.5166, allocations: 30.81 kB / 0.5924 GB, free: 25.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.5166, allocations: 25.78 kB / 0.5924 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.5188, allocations: 0.9843 MB / 0.5934 GB, free: 24.79 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.007534/0.5264, allocations: 3.854 MB / 0.5972 GB, free: 22.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007627/0.534, allocations: 2.366 MB / 0.5995 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.5357, allocations: 0.6776 MB / 0.6001 GB, free: 21.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.5358, allocations: 21.05 kB / 0.6001 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.5375, allocations: 0.8202 MB / 0.6009 GB, free: 21.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.096e-06/0.5376, allocations: 0 / 0.6009 GB, free: 21.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03023/0.5678, allocations: 7.081 MB / 0.6079 GB, free: 19.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.568, allocations: 118.6 kB / 0.608 GB, free: 19.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.5703, allocations: 1.085 MB / 0.609 GB, free: 19.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002922/0.5706, allocations: 41.8 kB / 0.6091 GB, free: 19.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.571, allocations: 498.8 kB / 0.6095 GB, free: 18.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.5714, allocations: 356.9 kB / 0.6099 GB, free: 18.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005731/0.572, allocations: 286.7 kB / 0.6102 GB, free: 18.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.5721, allocations: 301.1 kB / 0.6104 GB, free: 18.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.5737, allocations: 0.7647 MB / 0.6112 GB, free: 17.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.5755, allocations: 0.9376 MB / 0.6121 GB, free: 17.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02543/0.6009, allocations: 5.577 MB / 0.6176 GB, free: 14.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.341e-05/0.601, allocations: 0 / 0.6176 GB, free: 14.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01268/0.6137, allocations: 4.328 MB / 0.6218 GB, free: 10.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/0.6138, allocations: 63.39 kB / 0.6218 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.6139, allocations: 4 kB / 0.6218 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004899/0.6188, allocations: 1.509 MB / 0.6233 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.6204, allocations: 295.6 kB / 0.6236 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.636, allocations: 7.633 MB / 0.6311 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.6383, allocations: 194.8 kB / 0.6312 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/0.6387, allocations: 59.97 kB / 0.6313 GB, free: 300 kB / 430.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.0009929/0.6397, allocations: 307.8 kB / 0.6316 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/0.6402, allocations: 122.4 kB / 0.6317 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.6531, allocations: 3.865 MB / 0.6355 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.6531, allocations: 12 kB / 0.6355 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.6532, allocations: 15.88 kB / 0.6355 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/0.6532, allocations: 7.984 kB / 0.6355 GB, free: 11.93 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.01631/0.6695, allocations: 5.461 MB / 0.6409 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.6696, allocations: 0 / 0.6409 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00072/0.6703, allocations: 103.9 kB / 0.641 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005768/0.6761, allocations: 1.586 MB / 0.6425 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/0.6764, allocations: 27.98 kB / 0.6425 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.6961, allocations: 8.785 MB / 0.6511 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6962, allocations: 0 / 0.6511 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/0.7111, allocations: 4.74 MB / 0.6557 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006794/0.7118, allocations: 219.3 kB / 0.6559 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005411/0.7124, allocations: 19.98 kB / 0.656 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.7139, allocations: 107.9 kB / 0.6561 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007867/0.7147, allocations: 196.6 kB / 0.6563 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.7148, allocations: 27.98 kB / 0.6563 GB, free: 6.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.7162, allocations: 0.7313 MB / 0.657 GB, free: 5.469 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7162, allocations: 0 / 0.657 GB, free: 5.469 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002023/0.7183, allocations: 471.5 kB / 0.6574 GB, free: 5.008 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.0003675/0.7187, allocations: 139.2 kB / 0.6576 GB, free: 4.859 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006521/0.7252, allocations: 2.502 MB / 0.66 GB, free: 2.324 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7252, allocations: 0 / 0.66 GB, free: 2.324 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004417/0.7296, allocations: 1.591 MB / 0.6616 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.7313, allocations: 119.7 kB / 0.6617 GB, free: 0.582 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/0.7371, allocations: 2.674 MB / 0.6643 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/0.738, allocations: 1.124 MB / 0.6654 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006296/0.7387, allocations: 124.1 kB / 0.6655 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.739, allocations: 79.41 kB / 0.6656 GB, free: 12.52 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.739, allocations: 0 / 0.6656 GB, free: 12.52 MB / 478.1 MB Notification: Performance of Templates: time 0.04135/0.7804, allocations: 21.41 MB / 0.6865 GB, free: 7.145 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)