Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.41/1.41, allocations: 222.9 MB / 240 MB, free: 4.508 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.001364/0.001364, allocations: 184.5 kB / 290.3 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.484/0.484, allocations: 91.91 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 79.88 kB / 0.5033 GB, free: 6.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3487, allocations: 71.26 MB / 0.5729 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006463/0.3552, allocations: 6.525 MB / 0.5792 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004055/0.3593, allocations: 1.965 MB / 0.5812 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.3605, allocations: 10.41 kB / 0.5812 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009831/0.3615, allocations: 235.1 kB / 0.5814 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.3637, allocations: 0.7997 MB / 0.5822 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3649, allocations: 0.6273 MB / 0.5828 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001433/0.3663, allocations: 1.572 MB / 0.5843 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.3667, allocations: 327.1 kB / 0.5846 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.3673, allocations: 0.6483 MB / 0.5853 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.368, allocations: 0.8257 MB / 0.5861 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.3681, allocations: 123.7 kB / 0.5862 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.3686, allocations: 258.6 kB / 0.5864 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.3688, allocations: 328.2 kB / 0.5868 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.3692, allocations: 0.6712 MB / 0.5874 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.3704, allocations: 1.659 MB / 0.589 GB, free: 27.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3705, allocations: 1.094 kB / 0.589 GB, free: 27.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3705, allocations: 0 / 0.589 GB, free: 27.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.3705, allocations: 0 / 0.589 GB, free: 27.64 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008203/0.3787, allocations: 2.689 MB / 0.5917 GB, free: 26.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3788, allocations: 10.09 kB / 0.5917 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/0.3836, allocations: 0.7776 MB / 0.5924 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.3852, allocations: 0.8871 MB / 0.5933 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.3854, allocations: 260.7 kB / 0.5935 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.3856, allocations: 86.55 kB / 0.5936 GB, free: 25.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.3875, allocations: 1.09 MB / 0.5947 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3875, allocations: 0 / 0.5947 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.3876, allocations: 30.78 kB / 0.5947 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3876, allocations: 17.69 kB / 0.5947 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.3895, allocations: 0.9889 MB / 0.5957 GB, free: 24.58 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.006293/0.3958, allocations: 3.798 MB / 0.5994 GB, free: 22.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007088/0.4029, allocations: 2.361 MB / 0.6017 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.4043, allocations: 0.6772 MB / 0.6024 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.4044, allocations: 16.5 kB / 0.6024 GB, free: 21.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.406, allocations: 0.8233 MB / 0.6032 GB, free: 20.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 5.37e-06/0.406, allocations: 0 / 0.6032 GB, free: 20.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02857/0.4345, allocations: 7.19 MB / 0.6102 GB, free: 19.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.4346, allocations: 118.6 kB / 0.6103 GB, free: 19.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.4368, allocations: 1.09 MB / 0.6114 GB, free: 18.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.4371, allocations: 46.95 kB / 0.6114 GB, free: 18.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.4375, allocations: 493.8 kB / 0.6119 GB, free: 18.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.4379, allocations: 350.2 kB / 0.6122 GB, free: 18.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006725/0.4386, allocations: 287.1 kB / 0.6125 GB, free: 18.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.4386, allocations: 301.1 kB / 0.6128 GB, free: 17.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.4403, allocations: 0.7559 MB / 0.6135 GB, free: 17.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.442, allocations: 0.9293 MB / 0.6145 GB, free: 16.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0215/0.4635, allocations: 5.565 MB / 0.6199 GB, free: 13.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.4636, allocations: 0 / 0.6199 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01185/0.4754, allocations: 4.352 MB / 0.6241 GB, free: 9.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.4755, allocations: 69.22 kB / 0.6242 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.4755, allocations: 4 kB / 0.6242 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004854/0.4804, allocations: 1.588 MB / 0.6258 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.4816, allocations: 283.5 kB / 0.626 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.4988, allocations: 8.5 MB / 0.6343 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.5008, allocations: 198.8 kB / 0.6345 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.501, allocations: 59.92 kB / 0.6346 GB, free: 14.51 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007726/0.5018, allocations: 302.9 kB / 0.6349 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.5022, allocations: 122.5 kB / 0.635 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.5143, allocations: 3.873 MB / 0.6388 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.5143, allocations: 12 kB / 0.6388 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.5144, allocations: 11.94 kB / 0.6388 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.5144, allocations: 11.92 kB / 0.6388 GB, free: 10.14 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.01471/0.5291, allocations: 5.44 MB / 0.6441 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.5292, allocations: 0 / 0.6441 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.53, allocations: 107.8 kB / 0.6442 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005593/0.5356, allocations: 1.615 MB / 0.6458 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/0.5359, allocations: 19.94 kB / 0.6458 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/0.5558, allocations: 9.634 MB / 0.6552 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5559, allocations: 0 / 0.6552 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/0.5704, allocations: 4.727 MB / 0.6598 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/0.571, allocations: 223.3 kB / 0.66 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/0.5715, allocations: 23.94 kB / 0.6601 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.5729, allocations: 107.9 kB / 0.6602 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006612/0.5736, allocations: 192.7 kB / 0.6604 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.5737, allocations: 24 kB / 0.6604 GB, free: 3.574 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.575, allocations: 0.7354 MB / 0.6611 GB, free: 2.832 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.575, allocations: 0 / 0.6611 GB, free: 2.832 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001808/0.5768, allocations: 475.5 kB / 0.6615 GB, free: 2.367 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003324/0.5772, allocations: 144 kB / 0.6617 GB, free: 2.219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006288/0.5835, allocations: 2.516 MB / 0.6641 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5835, allocations: 0 / 0.6641 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004202/0.5877, allocations: 1.592 MB / 0.6657 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.5891, allocations: 119.5 kB / 0.6658 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.5936, allocations: 2.224 MB / 0.668 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007938/0.5944, allocations: 1.12 MB / 0.6691 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.595, allocations: 116 kB / 0.6692 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.5953, allocations: 79.42 kB / 0.6693 GB, free: 10.31 MB / 478.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5953, allocations: 4 kB / 0.6693 GB, free: 10.31 MB / 478.1 MB Notification: Performance of Templates: time 0.03916/0.6345, allocations: 23.58 MB / 0.6923 GB, free: 2.762 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)