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.00857/0.00857, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.374/1.374, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001384/0.001384, allocations: 180.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5404/0.5404, allocations: 91.89 MB / 431.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001447, allocations: 79.47 kB / 0.5727 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1663, allocations: 71.29 MB / 0.6423 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.008098/0.1744, allocations: 6.722 MB / 0.6489 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004847/0.1793, allocations: 2.013 MB / 0.6509 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.181, allocations: 12 kB / 0.6509 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009504/0.182, allocations: 245.9 kB / 0.6511 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.1847, allocations: 0.8663 MB / 0.652 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1861, allocations: 0.647 MB / 0.6526 GB, free: 9.074 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.1881, allocations: 1.675 MB / 0.6542 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005234/0.1887, allocations: 326.5 kB / 0.6545 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009038/0.1896, allocations: 0.6925 MB / 0.6552 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009152/0.1905, allocations: 0.8751 MB / 0.6561 GB, free: 5.492 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.1907, allocations: 132 kB / 0.6562 GB, free: 5.363 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.1913, allocations: 271.8 kB / 0.6565 GB, free: 5.098 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.1916, allocations: 342.6 kB / 0.6568 GB, free: 4.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006229/0.1922, allocations: 0.7108 MB / 0.6575 GB, free: 4.047 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.194, allocations: 1.728 MB / 0.6592 GB, free: 2.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.194, allocations: 0 / 0.6592 GB, free: 2.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.194, allocations: 0 / 0.6592 GB, free: 2.312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.1941, allocations: 0 / 0.6592 GB, free: 2.312 MB / 462.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.009514/0.2036, allocations: 2.774 MB / 0.6619 GB, free: 15.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.2036, allocations: 12.03 kB / 0.6619 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/0.2087, allocations: 0.7827 MB / 0.6627 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.2103, allocations: 0.9218 MB / 0.6636 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/0.2107, allocations: 260.2 kB / 0.6638 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.2108, allocations: 95.84 kB / 0.6639 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.2131, allocations: 1.106 MB / 0.665 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.2131, allocations: 7.922 kB / 0.665 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.2132, allocations: 32 kB / 0.665 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.2133, allocations: 16 kB / 0.665 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.2153, allocations: 1.011 MB / 0.666 GB, free: 11.12 MB / 478.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.006881/0.2222, allocations: 3.883 MB / 0.6698 GB, free: 7.062 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007537/0.2298, allocations: 2.4 MB / 0.6721 GB, free: 4.566 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.2314, allocations: 0.6918 MB / 0.6728 GB, free: 3.871 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.2315, allocations: 16.97 kB / 0.6728 GB, free: 3.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.2332, allocations: 0.8372 MB / 0.6737 GB, free: 3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 5.08e-06/0.2332, allocations: 0 / 0.6737 GB, free: 3 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02906/0.2623, allocations: 7.093 MB / 0.6806 GB, free: 11.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.2624, allocations: 115.8 kB / 0.6807 GB, free: 11.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.2645, allocations: 1.143 MB / 0.6818 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.2647, allocations: 45.73 kB / 0.6819 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.2652, allocations: 0.5008 MB / 0.6823 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005559/0.2658, allocations: 362.9 kB / 0.6827 GB, free: 9.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006849/0.2665, allocations: 303.4 kB / 0.683 GB, free: 9.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.2666, allocations: 305.1 kB / 0.6833 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.2683, allocations: 0.7926 MB / 0.684 GB, free: 8.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.2704, allocations: 0.9694 MB / 0.685 GB, free: 7.227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02696/0.2974, allocations: 5.926 MB / 0.6908 GB, free: 1.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.2974, allocations: 0 / 0.6908 GB, free: 1.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01553/0.3129, allocations: 4.508 MB / 0.6952 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/0.3131, allocations: 63.41 kB / 0.6952 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.3131, allocations: 4 kB / 0.6952 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006584/0.3197, allocations: 1.662 MB / 0.6969 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.3214, allocations: 295.6 kB / 0.6971 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/0.3438, allocations: 8.625 MB / 0.7056 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.3463, allocations: 202.6 kB / 0.7058 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/0.3467, allocations: 59.97 kB / 0.7058 GB, free: 1.609 MB / 0.4981 GB 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.0009867/0.3477, allocations: 300.2 kB / 0.7061 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/0.3481, allocations: 126.4 kB / 0.7062 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.3617, allocations: 3.928 MB / 0.7101 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.3618, allocations: 8 kB / 0.7101 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.799e-05/0.3618, allocations: 8 kB / 0.7101 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/0.3619, allocations: 7.984 kB / 0.7101 GB, free: 13.19 MB / 0.5137 GB 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.01658/0.3784, allocations: 5.557 MB / 0.7155 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.3785, allocations: 0 / 0.7155 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008558/0.3794, allocations: 107.8 kB / 0.7156 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005886/0.3853, allocations: 1.599 MB / 0.7172 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.3855, allocations: 23.98 kB / 0.7172 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/0.4073, allocations: 9.622 MB / 0.7266 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4074, allocations: 0 / 0.7266 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/0.4234, allocations: 4.805 MB / 0.7313 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/0.424, allocations: 231.3 kB / 0.7315 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/0.4245, allocations: 23.94 kB / 0.7315 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/0.4261, allocations: 111.9 kB / 0.7316 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007495/0.4269, allocations: 196.7 kB / 0.7318 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.427, allocations: 28 kB / 0.7319 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001475/0.4285, allocations: 0.7634 MB / 0.7326 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4285, allocations: 0 / 0.7326 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002111/0.4307, allocations: 491.5 kB / 0.7331 GB, free: 5.191 MB / 0.5294 GB 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.0004111/0.4311, allocations: 150.9 kB / 0.7332 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007472/0.4386, allocations: 2.62 MB / 0.7358 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4386, allocations: 0 / 0.7358 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004774/0.4434, allocations: 1.616 MB / 0.7373 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.4448, allocations: 116.6 kB / 0.7375 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/0.4501, allocations: 2.427 MB / 0.7398 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008793/0.451, allocations: 1.139 MB / 0.7409 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000608/0.4516, allocations: 124.3 kB / 0.7411 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.452, allocations: 83.41 kB / 0.7411 GB, free: 12.77 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.452, allocations: 0 / 0.7411 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Templates: time 0.04765/0.4997, allocations: 24.72 MB / 0.7653 GB, free: 4.07 MB / 0.5606 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)