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.001532/0.001532, allocations: 100.1 kB / 15.88 MB, free: 12 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.412/1.412, allocations: 222.9 MB / 239.5 MB, free: 4.75 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.001403/0.001403, allocations: 204.4 kB / 289.8 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5297/0.5297, allocations: 91.9 MB / 431.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 79.88 kB / 0.5018 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3727, allocations: 71.26 MB / 0.5714 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00561/0.3784, allocations: 6.895 MB / 0.5782 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.3813, allocations: 2.003 MB / 0.5801 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.3818, allocations: 16.75 kB / 0.5801 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.3823, allocations: 191.7 kB / 0.5803 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.3837, allocations: 0.7069 MB / 0.581 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009667/0.3847, allocations: 0.5912 MB / 0.5816 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009578/0.3856, allocations: 1.499 MB / 0.5831 GB, free: 29.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.386, allocations: 293.2 kB / 0.5833 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.3865, allocations: 0.5922 MB / 0.5839 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.3871, allocations: 0.7787 MB / 0.5847 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.3872, allocations: 71.78 kB / 0.5847 GB, free: 28.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.3876, allocations: 204 kB / 0.5849 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.3878, allocations: 273.8 kB / 0.5852 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.3882, allocations: 0.6261 MB / 0.5858 GB, free: 28.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008211/0.389, allocations: 1.252 MB / 0.587 GB, free: 27.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.389, allocations: 0 / 0.587 GB, free: 27.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3891, allocations: 0 / 0.587 GB, free: 27.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3891, allocations: 5.125 kB / 0.587 GB, free: 27.71 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.007804/0.3969, allocations: 2.675 MB / 0.5897 GB, free: 26.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3969, allocations: 12.78 kB / 0.5897 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.4017, allocations: 0.7808 MB / 0.5904 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.403, allocations: 0.8788 MB / 0.5913 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.4033, allocations: 261.8 kB / 0.5915 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.4034, allocations: 90.03 kB / 0.5916 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.4055, allocations: 1.091 MB / 0.5927 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4055, allocations: 1.594 kB / 0.5927 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.09e-05/0.4056, allocations: 33.7 kB / 0.5927 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.4056, allocations: 17.97 kB / 0.5927 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.4075, allocations: 0.9842 MB / 0.5937 GB, free: 24.66 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.006171/0.4137, allocations: 3.847 MB / 0.5975 GB, free: 22.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007168/0.4209, allocations: 2.37 MB / 0.5998 GB, free: 21.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.4222, allocations: 0.677 MB / 0.6004 GB, free: 21.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.4223, allocations: 16.36 kB / 0.6004 GB, free: 21.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.4239, allocations: 0.8251 MB / 0.6013 GB, free: 21.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.535e-06/0.4239, allocations: 4 kB / 0.6013 GB, free: 21.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02838/0.4523, allocations: 7.082 MB / 0.6082 GB, free: 19.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.4524, allocations: 122.2 kB / 0.6083 GB, free: 19.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.4541, allocations: 1.08 MB / 0.6093 GB, free: 19.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.4543, allocations: 48.25 kB / 0.6094 GB, free: 19.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.4546, allocations: 493.5 kB / 0.6099 GB, free: 18.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.4549, allocations: 357.1 kB / 0.6102 GB, free: 18.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005044/0.4555, allocations: 286 kB / 0.6105 GB, free: 18.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.4555, allocations: 307 kB / 0.6108 GB, free: 17.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.4572, allocations: 0.7643 MB / 0.6115 GB, free: 17.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.459, allocations: 0.9299 MB / 0.6124 GB, free: 17.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02313/0.4821, allocations: 5.579 MB / 0.6179 GB, free: 14.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.4822, allocations: 1.219 kB / 0.6179 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.0127/0.4949, allocations: 4.331 MB / 0.6221 GB, free: 10.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.495, allocations: 63.41 kB / 0.6222 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.495, allocations: 7.984 kB / 0.6222 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004976/0.5, allocations: 1.505 MB / 0.6236 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.5015, allocations: 303.6 kB / 0.6239 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.5178, allocations: 7.617 MB / 0.6314 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.5199, allocations: 206.8 kB / 0.6316 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/0.5202, allocations: 55.98 kB / 0.6316 GB, free: 440 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.0007584/0.521, allocations: 304.3 kB / 0.6319 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.5214, allocations: 126.6 kB / 0.632 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.5341, allocations: 3.869 MB / 0.6358 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.5341, allocations: 8 kB / 0.6358 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-05/0.5341, allocations: 11.94 kB / 0.6358 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.5342, allocations: 11.95 kB / 0.6358 GB, free: 12.06 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.01485/0.549, allocations: 5.461 MB / 0.6412 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5491, allocations: 0 / 0.6412 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/0.5497, allocations: 99.89 kB / 0.6413 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005602/0.5553, allocations: 1.598 MB / 0.6428 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.5555, allocations: 16 kB / 0.6428 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/0.5749, allocations: 8.779 MB / 0.6514 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5749, allocations: 4 kB / 0.6514 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/0.5895, allocations: 4.748 MB / 0.6561 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/0.59, allocations: 219.3 kB / 0.6563 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/0.5904, allocations: 20 kB / 0.6563 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.5917, allocations: 103.9 kB / 0.6564 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006271/0.5924, allocations: 200.6 kB / 0.6566 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.687e-05/0.5925, allocations: 27.94 kB / 0.6566 GB, free: 6.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.5937, allocations: 0.7274 MB / 0.6573 GB, free: 5.605 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5937, allocations: 0 / 0.6573 GB, free: 5.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0016/0.5953, allocations: 471.5 kB / 0.6578 GB, free: 5.145 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.0002939/0.5956, allocations: 135.2 kB / 0.6579 GB, free: 5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006263/0.6019, allocations: 2.501 MB / 0.6603 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6019, allocations: 0 / 0.6603 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004134/0.606, allocations: 1.58 MB / 0.6619 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.607, allocations: 119 kB / 0.662 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.6116, allocations: 2.742 MB / 0.6647 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.6123, allocations: 1.116 MB / 0.6658 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.6127, allocations: 79.41 kB / 0.6658 GB, free: 12.74 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6127, allocations: 8 kB / 0.6658 GB, free: 12.73 MB / 478.1 MB Notification: Performance of Templates: time 0.0315/0.6442, allocations: 23.38 MB / 0.6887 GB, free: 5.375 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)