Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005054/0.005056, allocations: 174 kB / 15.12 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008902/0.0008902, allocations: 106.7 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.419/0.419, allocations: 78.58 MB / 419.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 11.98 kB / 499.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3022, allocations: 69.36 MB / 0.5558 GB, free: 38.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.008891/0.3111, allocations: 12.03 MB / 0.5675 GB, free: 33.08 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006766/0.3179, allocations: 3.558 MB / 0.571 GB, free: 30.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.3196, allocations: 34.78 kB / 0.571 GB, free: 30.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.3207, allocations: 397.1 kB / 0.5714 GB, free: 30.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.3237, allocations: 1.336 MB / 0.5727 GB, free: 29.41 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.3263, allocations: 1.272 MB / 0.574 GB, free: 28.76 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002812/0.3291, allocations: 2.365 MB / 0.5763 GB, free: 27.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000779/0.3299, allocations: 0.6988 MB / 0.5769 GB, free: 27.14 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.3312, allocations: 1.316 MB / 0.5782 GB, free: 26.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.3326, allocations: 1.663 MB / 0.5799 GB, free: 25.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.3329, allocations: 140.2 kB / 0.58 GB, free: 25.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.3335, allocations: 261.2 kB / 0.5802 GB, free: 25.74 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.3339, allocations: 0.5834 MB / 0.5808 GB, free: 25.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.3343, allocations: 0.5205 MB / 0.5813 GB, free: 25.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.3362, allocations: 2.814 MB / 0.5841 GB, free: 24.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3363, allocations: 0 / 0.5841 GB, free: 24.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3363, allocations: 0 / 0.5841 GB, free: 24.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.482e-05/0.3363, allocations: 0 / 0.5841 GB, free: 24.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01944/0.3558, allocations: 6.159 MB / 0.5901 GB, free: 21.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3558, allocations: 12.81 kB / 0.5901 GB, free: 21.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/0.3692, allocations: 2.296 MB / 0.5923 GB, free: 21.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.3722, allocations: 1.777 MB / 0.5941 GB, free: 20.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005644/0.3728, allocations: 0.7485 MB / 0.5948 GB, free: 19.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/0.3732, allocations: 218.8 kB / 0.595 GB, free: 19.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00573/0.3789, allocations: 3.192 MB / 0.5981 GB, free: 18.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.3789, allocations: 0 / 0.5981 GB, free: 18.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.3792, allocations: 82.19 kB / 0.5982 GB, free: 18.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.3792, allocations: 57.52 kB / 0.5983 GB, free: 18.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005619/0.3849, allocations: 2.968 MB / 0.6012 GB, free: 17.52 MB / 426.7 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.0172/0.4021, allocations: 10.41 MB / 0.6113 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01163/0.4137, allocations: 4.857 MB / 0.6161 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/0.4141, allocations: 51.66 kB / 0.6161 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004552/0.4187, allocations: 2.41 MB / 0.6185 GB, free: 8.531 MB / 426.7 MB Notification: Performance of pre-optimization done (n=247): time 4.538e-06/0.4187, allocations: 1.406 kB / 0.6185 GB, free: 8.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=247): time 0.1335/0.5522, allocations: 36.32 MB / 0.6539 GB, free: 4.922 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5523, allocations: 192.1 kB / 0.6541 GB, free: 4.695 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.5556, allocations: 2.265 MB / 0.6563 GB, free: 2.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005725/0.5562, allocations: 69.7 kB / 0.6564 GB, free: 2.336 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008068/0.557, allocations: 1.179 MB / 0.6576 GB, free: 1.145 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008796/0.5579, allocations: 0.8626 MB / 0.6584 GB, free: 276 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.5582, allocations: 64 kB / 0.6585 GB, free: 212 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.5583, allocations: 428.8 kB / 0.6589 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004416/0.5628, allocations: 2.134 MB / 0.661 GB, free: 13.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0046/0.5674, allocations: 2.49 MB / 0.6634 GB, free: 11.06 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.5721, allocations: 2.392 MB / 0.6657 GB, free: 8.629 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.5721, allocations: 4 kB / 0.6657 GB, free: 8.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04493/0.6171, allocations: 15.15 MB / 0.6805 GB, free: 9.398 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.044e-05/0.6172, allocations: 110.8 kB / 0.6806 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.6172, allocations: 8 kB / 0.6806 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02054/0.6377, allocations: 6.362 MB / 0.6868 GB, free: 2.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/0.6407, allocations: 0.5656 MB / 0.6874 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06395/0.7046, allocations: 26.53 MB / 0.7133 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004462/0.7091, allocations: 0.5909 MB / 0.7139 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/0.7094, allocations: 120 kB / 0.714 GB, free: 6.934 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001276/0.7107, allocations: 0.5246 MB / 0.7145 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005347/0.7113, allocations: 300.2 kB / 0.7148 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04375/0.755, allocations: 14.72 MB / 0.7292 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/0.7551, allocations: 27.95 kB / 0.7292 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.244e-05/0.7551, allocations: 24 kB / 0.7292 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-05/0.7552, allocations: 15.89 kB / 0.7292 GB, free: 7.262 MB / 0.5261 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.04827/0.8035, allocations: 18.42 MB / 0.7472 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.8036, allocations: 4.062 kB / 0.7472 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.8051, allocations: 243.7 kB / 0.7475 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01872/0.8238, allocations: 6.267 MB / 0.7536 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004893/0.8244, allocations: 51.98 kB / 0.7536 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2628/1.087, allocations: 26.88 MB / 0.7799 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.087, allocations: 0 / 0.7799 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04742/1.135, allocations: 17.31 MB / 0.7968 GB, free: 161.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000885/1.136, allocations: 416.6 kB / 0.7972 GB, free: 161.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/1.136, allocations: 48.44 kB / 0.7972 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/1.139, allocations: 409.6 kB / 0.7976 GB, free: 161.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001882/1.141, allocations: 0.5746 MB / 0.7982 GB, free: 161.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/1.141, allocations: 66 kB / 0.7982 GB, free: 161.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002152/1.143, allocations: 1.487 MB / 0.7997 GB, free: 160.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.143, allocations: 4 kB / 0.7997 GB, free: 160.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003102/1.146, allocations: 1.18 MB / 0.8008 GB, free: 160.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003807/1.147, allocations: 173.9 kB / 0.801 GB, free: 160.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01897/1.166, allocations: 7.488 MB / 0.8083 GB, free: 157.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.166, allocations: 0 / 0.8083 GB, free: 157.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01339/1.179, allocations: 5.082 MB / 0.8133 GB, free: 156.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/1.181, allocations: 220 kB / 0.8135 GB, free: 156 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/1.189, allocations: 6.388 MB / 0.8197 GB, free: 152.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009406/1.19, allocations: 1.865 MB / 0.8216 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009581/1.191, allocations: 255.8 kB / 0.8218 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/1.191, allocations: 166.9 kB / 0.822 GB, free: 150.5 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/1.191, allocations: 0 / 0.822 GB, free: 150.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.06529/1.257, allocations: 56.51 MB / 0.8771 GB, free: 97.15 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)