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.001004/0.001003, allocations: 98.88 kB / 16.02 MB, free: 76 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.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.336 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.001178/0.001178, allocations: 184.5 kB / 291.3 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4922/0.4922, allocations: 91.93 MB / 434.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004033, allocations: 12 kB / 0.5054 GB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3691, allocations: 72.48 MB / 0.5762 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004786/0.3739, allocations: 6.363 MB / 0.5824 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.3774, allocations: 1.99 MB / 0.5843 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009571/0.3783, allocations: 10.38 kB / 0.5844 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007503/0.3791, allocations: 195.9 kB / 0.5845 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.3812, allocations: 0.7023 MB / 0.5852 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.3824, allocations: 0.5808 MB / 0.5858 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.384, allocations: 1.488 MB / 0.5872 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.3845, allocations: 284.6 kB / 0.5875 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008805/0.3854, allocations: 0.5693 MB / 0.5881 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000955/0.3864, allocations: 0.7415 MB / 0.5888 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003109/0.3867, allocations: 65.08 kB / 0.5889 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006684/0.3874, allocations: 187.4 kB / 0.589 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.3876, allocations: 264.1 kB / 0.5893 GB, free: 28.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.3881, allocations: 0.6198 MB / 0.5899 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008531/0.389, allocations: 1.229 MB / 0.5911 GB, free: 27.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.389, allocations: 0 / 0.5911 GB, free: 27.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.389, allocations: 0 / 0.5911 GB, free: 27.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.389, allocations: 0 / 0.5911 GB, free: 27.47 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.007891/0.3969, allocations: 2.494 MB / 0.5935 GB, free: 26.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.397, allocations: 9.688 kB / 0.5935 GB, free: 26.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005032/0.402, allocations: 0.7756 MB / 0.5943 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.4035, allocations: 0.8874 MB / 0.5952 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.4037, allocations: 268.2 kB / 0.5954 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.4039, allocations: 86.94 kB / 0.5955 GB, free: 25.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.4061, allocations: 1.143 MB / 0.5966 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4061, allocations: 11.88 kB / 0.5966 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.4062, allocations: 29.91 kB / 0.5967 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.4063, allocations: 18.09 kB / 0.5967 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.4083, allocations: 1.049 MB / 0.5977 GB, free: 24.55 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.006223/0.4145, allocations: 3.903 MB / 0.6015 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008244/0.4228, allocations: 2.903 MB / 0.6043 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.4245, allocations: 0.7379 MB / 0.6051 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.109e-05/0.4246, allocations: 16.11 kB / 0.6051 GB, free: 21.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/0.4263, allocations: 0.8823 MB / 0.6059 GB, free: 20.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.4263, allocations: 0 / 0.6059 GB, free: 20.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03314/0.4595, allocations: 8.794 MB / 0.6145 GB, free: 19.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.4595, allocations: 126.2 kB / 0.6147 GB, free: 19.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.4613, allocations: 1.087 MB / 0.6157 GB, free: 18.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.4615, allocations: 46.86 kB / 0.6158 GB, free: 18.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.4618, allocations: 497.6 kB / 0.6162 GB, free: 18.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.4621, allocations: 352.7 kB / 0.6166 GB, free: 17.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.4623, allocations: 143.7 kB / 0.6167 GB, free: 17.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.4624, allocations: 301.6 kB / 0.617 GB, free: 17.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.464, allocations: 0.8223 MB / 0.6178 GB, free: 17.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.4657, allocations: 0.9888 MB / 0.6188 GB, free: 16.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02297/0.4887, allocations: 5.998 MB / 0.6246 GB, free: 11.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.4887, allocations: 0 / 0.6246 GB, free: 11.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01368/0.5024, allocations: 5.192 MB / 0.6297 GB, free: 6.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.5025, allocations: 63.33 kB / 0.6297 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.5026, allocations: 8 kB / 0.6298 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005882/0.5084, allocations: 1.865 MB / 0.6316 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.5098, allocations: 279.6 kB / 0.6318 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/0.5302, allocations: 8.835 MB / 0.6405 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.5325, allocations: 238.7 kB / 0.6407 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/0.5328, allocations: 55.97 kB / 0.6408 GB, free: 10.63 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.0009352/0.5337, allocations: 302.1 kB / 0.641 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.5342, allocations: 122.5 kB / 0.6412 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/0.5497, allocations: 4.724 MB / 0.6458 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/0.5498, allocations: 12 kB / 0.6458 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.493e-05/0.5498, allocations: 8 kB / 0.6458 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-05/0.5499, allocations: 3.984 kB / 0.6458 GB, free: 5.422 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.01929/0.5692, allocations: 6.297 MB / 0.6519 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.5692, allocations: 0 / 0.6519 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.5699, allocations: 99.89 kB / 0.652 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006505/0.5764, allocations: 1.888 MB / 0.6539 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/0.5767, allocations: 20 kB / 0.6539 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0228/0.5995, allocations: 9.699 MB / 0.6634 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5996, allocations: 0 / 0.6634 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/0.6174, allocations: 5.639 MB / 0.6689 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/0.6181, allocations: 227.3 kB / 0.6691 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/0.6185, allocations: 16 kB / 0.6691 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.62, allocations: 143.9 kB / 0.6693 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006838/0.6207, allocations: 192.7 kB / 0.6694 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.6209, allocations: 28 kB / 0.6695 GB, free: 12.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001346/0.6222, allocations: 0.7393 MB / 0.6702 GB, free: 11.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6222, allocations: 0 / 0.6702 GB, free: 11.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001847/0.6241, allocations: 479.5 kB / 0.6706 GB, free: 11.52 MB / 478.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.0003646/0.6245, allocations: 123.2 kB / 0.6708 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007415/0.6319, allocations: 2.802 MB / 0.6735 GB, free: 8.539 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.6319, allocations: 0 / 0.6735 GB, free: 8.539 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005081/0.637, allocations: 1.815 MB / 0.6753 GB, free: 6.688 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.6384, allocations: 108.3 kB / 0.6754 GB, free: 6.586 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/0.6432, allocations: 2.744 MB / 0.678 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008776/0.6441, allocations: 1.12 MB / 0.6791 GB, free: 2.664 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.6446, allocations: 83.34 kB / 0.6792 GB, free: 2.582 MB / 478.1 MB Notification: Performance of SimCode: time 6.52e-07/0.6446, allocations: 0 / 0.6792 GB, free: 2.582 MB / 478.1 MB Notification: Performance of Templates: time 0.03468/0.6793, allocations: 23.26 MB / 0.7019 GB, free: 11.33 MB / 0.4981 GB 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)