Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007697/0.007697, allocations: 102 kB / 15.73 MB, free: 6.035 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.382/1.382, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001584/0.001584, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5556/0.5556, allocations: 91.9 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 79.59 kB / 0.5728 GB, free: 33.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1456, allocations: 71.28 MB / 0.6424 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01349/0.1591, allocations: 13.62 MB / 0.6557 GB, free: 5.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00848/0.1676, allocations: 3.48 MB / 0.6591 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.1707, allocations: 28 kB / 0.6591 GB, free: 2.316 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.1728, allocations: 0.5537 MB / 0.6597 GB, free: 1.758 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00557/0.1784, allocations: 1.566 MB / 0.6612 GB, free: 196 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.1824, allocations: 1.507 MB / 0.6627 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005472/0.1879, allocations: 3.722 MB / 0.6663 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.1898, allocations: 0.8934 MB / 0.6672 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.1924, allocations: 1.532 MB / 0.6687 GB, free: 8.484 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/0.1953, allocations: 1.948 MB / 0.6706 GB, free: 6.527 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.1964, allocations: 284 kB / 0.6708 GB, free: 6.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.1981, allocations: 439.8 kB / 0.6712 GB, free: 5.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.1993, allocations: 0.7585 MB / 0.672 GB, free: 5.059 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002884/0.2022, allocations: 1.631 MB / 0.6736 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006082/0.2083, allocations: 3.97 MB / 0.6775 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2084, allocations: 0 / 0.6775 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2084, allocations: 0 / 0.6775 GB, free: 15.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002279/0.2086, allocations: 0 / 0.6775 GB, free: 15.43 MB / 494.1 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.02521/0.2338, allocations: 6.575 MB / 0.6839 GB, free: 8.762 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2339, allocations: 12.03 kB / 0.6839 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/0.2493, allocations: 2.275 MB / 0.6861 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004431/0.2538, allocations: 1.875 MB / 0.6879 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008077/0.2546, allocations: 0.7252 MB / 0.6887 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006308/0.2552, allocations: 219.9 kB / 0.6889 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/0.2619, allocations: 3.027 MB / 0.6918 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.262, allocations: 3.938 kB / 0.6918 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.2623, allocations: 87.92 kB / 0.6919 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/0.2623, allocations: 48 kB / 0.6919 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006065/0.2684, allocations: 2.784 MB / 0.6947 GB, free: 13.43 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.01802/0.2864, allocations: 9.797 MB / 0.7042 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/0.2974, allocations: 4.184 MB / 0.7083 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004399/0.3018, allocations: 1.964 MB / 0.7102 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.3021, allocations: 45.95 kB / 0.7103 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004671/0.3068, allocations: 2.232 MB / 0.7125 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=247): time 4.729e-06/0.3068, allocations: 0 / 0.7125 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=247): time 0.1286/0.4354, allocations: 29.46 MB / 0.7412 GB, free: 13.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.4355, allocations: 192.2 kB / 0.7414 GB, free: 12.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004176/0.4397, allocations: 2.281 MB / 0.7436 GB, free: 10.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007108/0.4405, allocations: 65.7 kB / 0.7437 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.4415, allocations: 1.176 MB / 0.7449 GB, free: 9.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001512/0.443, allocations: 0.8627 MB / 0.7457 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/0.4452, allocations: 0.5617 MB / 0.7462 GB, free: 7.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4453, allocations: 301.1 kB / 0.7465 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004747/0.4501, allocations: 1.947 MB / 0.7484 GB, free: 5.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/0.4551, allocations: 2.314 MB / 0.7507 GB, free: 3.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05485/0.5099, allocations: 14 MB / 0.7644 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.51, allocations: 0 / 0.7644 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.4078/0.9178, allocations: 12.29 MB / 0.7764 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.918, allocations: 116.5 kB / 0.7765 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.957e-05/0.918, allocations: 6.5 kB / 0.7765 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01967/0.9377, allocations: 5.32 MB / 0.7817 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/0.9409, allocations: 0.5593 MB / 0.7822 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05696/0.9978, allocations: 23.47 MB / 0.8051 GB, free: 98.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/1.002, allocations: 491.9 kB / 0.8056 GB, free: 97.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004215/1.003, allocations: 119.9 kB / 0.8057 GB, free: 97.84 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001277/1.004, allocations: 0.5336 MB / 0.8062 GB, free: 97.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006102/1.005, allocations: 298.7 kB / 0.8065 GB, free: 97.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03739/1.042, allocations: 11.9 MB / 0.8182 GB, free: 85.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/1.042, allocations: 24 kB / 0.8182 GB, free: 85.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.493e-05/1.042, allocations: 20 kB / 0.8182 GB, free: 85.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.508e-05/1.042, allocations: 15.89 kB / 0.8182 GB, free: 85.01 MB / 0.5606 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.04103/1.083, allocations: 15.49 MB / 0.8333 GB, free: 69.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/1.083, allocations: 4 kB / 0.8333 GB, free: 69.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/1.085, allocations: 247.6 kB / 0.8336 GB, free: 69.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01637/1.101, allocations: 5.282 MB / 0.8387 GB, free: 63.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006985/1.102, allocations: 51.98 kB / 0.8388 GB, free: 63.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05384/1.156, allocations: 24.94 MB / 0.8631 GB, free: 38.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.156, allocations: 128 / 0.8631 GB, free: 38.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04279/1.199, allocations: 14.27 MB / 0.8771 GB, free: 24.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.2, allocations: 408.8 kB / 0.8775 GB, free: 23.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009111/1.201, allocations: 48 kB / 0.8775 GB, free: 23.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/1.204, allocations: 299.6 kB / 0.8778 GB, free: 23.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002044/1.206, allocations: 0.5802 MB / 0.8784 GB, free: 22.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.206, allocations: 63.98 kB / 0.8784 GB, free: 22.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00199/1.208, allocations: 1.511 MB / 0.8799 GB, free: 21.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.208, allocations: 0 / 0.8799 GB, free: 21.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003937/1.212, allocations: 1.175 MB / 0.881 GB, free: 20.09 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005203/1.213, allocations: 174.5 kB / 0.8812 GB, free: 19.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0175/1.23, allocations: 6.698 MB / 0.8878 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.23, allocations: 0 / 0.8878 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01348/1.244, allocations: 4.4 MB / 0.892 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/1.247, allocations: 268 kB / 0.8923 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009213/1.256, allocations: 5.277 MB / 0.8975 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.257, allocations: 1.799 MB / 0.8992 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001212/1.259, allocations: 270.5 kB / 0.8995 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005622/1.259, allocations: 175.4 kB / 0.8996 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/1.259, allocations: 0 / 0.8996 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of Templates: time 0.1097/1.369, allocations: 65.68 MB / 0.9638 GB, free: 15.21 MB / 0.6387 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)