Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 108 kB / 15.61 MB, free: 152 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.396/1.396, allocations: 222.9 MB / 239.2 MB, free: 4.617 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.001507/0.001506, allocations: 188.5 kB / 289.5 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5176/0.5176, allocations: 91.9 MB / 431.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 75.88 kB / 0.5019 GB, free: 7.777 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3505, allocations: 71.26 MB / 0.5715 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005873/0.3564, allocations: 6.724 MB / 0.578 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.3599, allocations: 2.024 MB / 0.58 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008391/0.3608, allocations: 10.34 kB / 0.58 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007128/0.3615, allocations: 247.3 kB / 0.5802 GB, free: 31.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.3635, allocations: 0.8172 MB / 0.581 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3647, allocations: 0.6418 MB / 0.5817 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.3661, allocations: 1.658 MB / 0.5833 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.3665, allocations: 323.7 kB / 0.5836 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000714/0.3672, allocations: 0.6907 MB / 0.5843 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.368, allocations: 0.8759 MB / 0.5851 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.3683, allocations: 130.6 kB / 0.5853 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.3688, allocations: 269 kB / 0.5855 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.3691, allocations: 351.7 kB / 0.5858 GB, free: 28.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004954/0.3696, allocations: 0.7026 MB / 0.5865 GB, free: 27.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.3713, allocations: 1.711 MB / 0.5882 GB, free: 27.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3713, allocations: 0 / 0.5882 GB, free: 27.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3713, allocations: 0 / 0.5882 GB, free: 27.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.585e-05/0.3713, allocations: 1.312 kB / 0.5882 GB, free: 27.23 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009699/0.381, allocations: 2.787 MB / 0.5909 GB, free: 25.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.3811, allocations: 13.31 kB / 0.5909 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.3862, allocations: 0.7748 MB / 0.5917 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.3878, allocations: 0.9185 MB / 0.5926 GB, free: 25.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.3881, allocations: 257.6 kB / 0.5928 GB, free: 24.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.3883, allocations: 95.45 kB / 0.5929 GB, free: 24.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.3904, allocations: 1.11 MB / 0.594 GB, free: 24.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.3904, allocations: 1.469 kB / 0.594 GB, free: 24.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.623e-05/0.3905, allocations: 29.94 kB / 0.594 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.3905, allocations: 18.81 kB / 0.5941 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.3926, allocations: 1.001 MB / 0.595 GB, free: 24.12 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.006775/0.3994, allocations: 3.922 MB / 0.5989 GB, free: 21.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007698/0.4071, allocations: 2.407 MB / 0.6012 GB, free: 21.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.4086, allocations: 0.6956 MB / 0.6019 GB, free: 20.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.4087, allocations: 17.75 kB / 0.6019 GB, free: 20.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/0.4104, allocations: 0.8349 MB / 0.6027 GB, free: 20.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.256e-06/0.4104, allocations: 0 / 0.6027 GB, free: 20.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.0293/0.4397, allocations: 7.093 MB / 0.6097 GB, free: 18.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.4398, allocations: 120.2 kB / 0.6098 GB, free: 18.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/0.4419, allocations: 1.137 MB / 0.6109 GB, free: 18.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.4422, allocations: 51.17 kB / 0.6109 GB, free: 18.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.4425, allocations: 0.4949 MB / 0.6114 GB, free: 17.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003987/0.4429, allocations: 368.8 kB / 0.6118 GB, free: 17.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005706/0.4435, allocations: 296.3 kB / 0.612 GB, free: 17.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.4436, allocations: 306.3 kB / 0.6123 GB, free: 17.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.4452, allocations: 0.7938 MB / 0.6131 GB, free: 16.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.4469, allocations: 0.9744 MB / 0.6141 GB, free: 16.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02487/0.4718, allocations: 5.942 MB / 0.6199 GB, free: 12.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.4719, allocations: 0 / 0.6199 GB, free: 12.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01298/0.4848, allocations: 4.512 MB / 0.6243 GB, free: 7.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.4849, allocations: 63.34 kB / 0.6243 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4849, allocations: 4 kB / 0.6243 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005707/0.4906, allocations: 1.662 MB / 0.626 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.492, allocations: 295.6 kB / 0.6262 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/0.5116, allocations: 8.619 MB / 0.6347 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.5139, allocations: 214.6 kB / 0.6349 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.5141, allocations: 63.91 kB / 0.6349 GB, free: 12.89 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.delta:VARIABLE(flow=false start = order6.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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006546/0.5147, allocations: 301.9 kB / 0.6352 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.515, allocations: 130.4 kB / 0.6353 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.5275, allocations: 3.924 MB / 0.6392 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.5276, allocations: 8 kB / 0.6392 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.5276, allocations: 11.98 kB / 0.6392 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.5276, allocations: 3.984 kB / 0.6392 GB, free: 8.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.01481/0.5425, allocations: 5.555 MB / 0.6446 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.5425, allocations: 0 / 0.6446 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.5432, allocations: 111.9 kB / 0.6447 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005423/0.5487, allocations: 1.595 MB / 0.6463 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.5488, allocations: 24 kB / 0.6463 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/0.5684, allocations: 9.634 MB / 0.6557 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5685, allocations: 0 / 0.6557 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/0.5831, allocations: 4.807 MB / 0.6604 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/0.584, allocations: 227.2 kB / 0.6606 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.5843, allocations: 27.92 kB / 0.6607 GB, free: 2.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.5856, allocations: 107.9 kB / 0.6608 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006018/0.5862, allocations: 200.7 kB / 0.6609 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.5863, allocations: 31.98 kB / 0.661 GB, free: 1.711 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.5875, allocations: 0.7634 MB / 0.6617 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5875, allocations: 0 / 0.6617 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001629/0.5891, allocations: 495.5 kB / 0.6622 GB, free: 468 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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.0003164/0.5895, allocations: 131.3 kB / 0.6623 GB, free: 328 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007773/0.5972, allocations: 2.655 MB / 0.6649 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5973, allocations: 0.75 kB / 0.6649 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004645/0.6019, allocations: 1.615 MB / 0.6665 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.6035, allocations: 123.8 kB / 0.6666 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.6089, allocations: 2.458 MB / 0.669 GB, free: 9.371 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/0.6098, allocations: 1.132 MB / 0.6701 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00064/0.6104, allocations: 124.3 kB / 0.6702 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.6108, allocations: 83.41 kB / 0.6703 GB, free: 7.996 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6108, allocations: 0 / 0.6703 GB, free: 7.996 MB / 478.1 MB Notification: Performance of Templates: time 0.04157/0.6524, allocations: 24.47 MB / 0.6942 GB, free: 15.56 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)