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.007235/0.007236, allocations: 169.9 kB / 15.13 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.394/1.394, allocations: 223.3 MB / 239.1 MB, free: 15.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008348/0.0008348, allocations: 97.42 kB / 290.3 MB, free: 4.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4552/0.4552, allocations: 78.61 MB / 420 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 19.97 kB / 499.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 69.37 MB / 0.5559 GB, free: 1.801 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01298/0.1582, allocations: 12.75 MB / 0.5684 GB, free: 5.008 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009071/0.1673, allocations: 3.43 MB / 0.5717 GB, free: 1.566 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/0.1703, allocations: 35.94 kB / 0.5717 GB, free: 1.531 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.1723, allocations: 389 kB / 0.5721 GB, free: 1.148 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2658/0.4381, allocations: 1.202 MB / 0.5733 GB, free: 31.98 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003893/0.442, allocations: 1.27 MB / 0.5745 GB, free: 31.98 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005711/0.4477, allocations: 3.33 MB / 0.5778 GB, free: 31.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.4491, allocations: 0.6898 MB / 0.5785 GB, free: 31.87 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.4516, allocations: 1.302 MB / 0.5797 GB, free: 31.66 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.4537, allocations: 1.714 MB / 0.5814 GB, free: 31.28 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005285/0.4543, allocations: 141.7 kB / 0.5815 GB, free: 31.28 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009362/0.4552, allocations: 274.1 kB / 0.5818 GB, free: 31.28 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004469/0.4557, allocations: 0.5849 MB / 0.5824 GB, free: 31.13 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009454/0.4566, allocations: 0.5213 MB / 0.5829 GB, free: 30.99 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003665/0.4603, allocations: 2.942 MB / 0.5858 GB, free: 30.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4603, allocations: 1.562 kB / 0.5858 GB, free: 30.67 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4603, allocations: 1.781 kB / 0.5858 GB, free: 30.67 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001419/0.4605, allocations: 0 / 0.5858 GB, free: 30.67 MB / 442.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.02259/0.4831, allocations: 6.161 MB / 0.5918 GB, free: 28.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4831, allocations: 8.328 kB / 0.5918 GB, free: 28.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.4988, allocations: 2.299 MB / 0.594 GB, free: 28.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/0.5041, allocations: 1.77 MB / 0.5958 GB, free: 28.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000794/0.5049, allocations: 0.7521 MB / 0.5965 GB, free: 27.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.506, allocations: 211.8 kB / 0.5967 GB, free: 27.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008634/0.5147, allocations: 3.215 MB / 0.5998 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.252e-05/0.5148, allocations: 0 / 0.5998 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003593/0.5151, allocations: 83.08 kB / 0.5999 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.5152, allocations: 52.61 kB / 0.6 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006115/0.5213, allocations: 2.973 MB / 0.6029 GB, free: 27.25 MB / 442.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.01936/0.5407, allocations: 10.11 MB / 0.6127 GB, free: 24.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.5525, allocations: 4.858 MB / 0.6175 GB, free: 23.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00478/0.5574, allocations: 2.158 MB / 0.6196 GB, free: 22.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/0.5577, allocations: 47.8 kB / 0.6196 GB, free: 22.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005541/0.5633, allocations: 2.413 MB / 0.622 GB, free: 21.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 1.074e-05/0.5633, allocations: 0 / 0.622 GB, free: 21.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=247): time 0.1342/0.6976, allocations: 36.29 MB / 0.6574 GB, free: 11.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.6977, allocations: 184.2 kB / 0.6576 GB, free: 11.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/0.7016, allocations: 2.258 MB / 0.6598 GB, free: 8.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007862/0.7024, allocations: 73.7 kB / 0.6599 GB, free: 8.672 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008952/0.7034, allocations: 1.172 MB / 0.661 GB, free: 7.496 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/0.7046, allocations: 0.8634 MB / 0.6619 GB, free: 6.641 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.7049, allocations: 64 kB / 0.6619 GB, free: 6.578 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.7051, allocations: 430.6 kB / 0.6623 GB, free: 6.152 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004633/0.7097, allocations: 2.134 MB / 0.6644 GB, free: 4.016 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/0.715, allocations: 2.508 MB / 0.6669 GB, free: 1.418 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005441/0.7205, allocations: 2.401 MB / 0.6692 GB, free: 14.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.7205, allocations: 0 / 0.6692 GB, free: 14.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04709/0.7676, allocations: 15.15 MB / 0.684 GB, free: 15.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-05/0.7677, allocations: 118.8 kB / 0.6841 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/0.7678, allocations: 11.94 kB / 0.6841 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02049/0.7883, allocations: 6.359 MB / 0.6903 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/0.7915, allocations: 0.5656 MB / 0.6909 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06291/0.8544, allocations: 25.18 MB / 0.7155 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00475/0.8592, allocations: 0.587 MB / 0.7161 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005473/0.8598, allocations: 116 kB / 0.7162 GB, free: 14.69 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.001461/0.8613, allocations: 0.5321 MB / 0.7167 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007835/0.8621, allocations: 296.3 kB / 0.717 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0453/0.9074, allocations: 14.73 MB / 0.7314 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/0.9075, allocations: 24 kB / 0.7314 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.64e-05/0.9075, allocations: 27.67 kB / 0.7314 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-05/0.9076, allocations: 11.95 kB / 0.7314 GB, free: 15.01 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.05104/0.9586, allocations: 18.32 MB / 0.7493 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.9587, allocations: 8.062 kB / 0.7493 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.9603, allocations: 235.7 kB / 0.7495 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0193/0.9796, allocations: 6.273 MB / 0.7557 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006243/0.9803, allocations: 51.94 kB / 0.7557 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05867/1.039, allocations: 25.51 MB / 0.7806 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.039, allocations: 0 / 0.7806 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2663/1.305, allocations: 17.27 MB / 0.7975 GB, free: 168.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009263/1.306, allocations: 413.6 kB / 0.7979 GB, free: 168 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005009/1.307, allocations: 45.75 kB / 0.7979 GB, free: 168 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.31, allocations: 410 kB / 0.7983 GB, free: 168 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001785/1.312, allocations: 0.5804 MB / 0.7989 GB, free: 168 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/1.312, allocations: 68.75 kB / 0.7989 GB, free: 168 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002338/1.314, allocations: 1.487 MB / 0.8004 GB, free: 167.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.91e-07/1.314, allocations: 1.219 kB / 0.8004 GB, free: 167.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00329/1.318, allocations: 1.18 MB / 0.8015 GB, free: 167.9 MB / 0.573 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.0004043/1.318, allocations: 172.6 kB / 0.8017 GB, free: 167.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0202/1.338, allocations: 7.482 MB / 0.809 GB, free: 167.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.338, allocations: 1.781 kB / 0.809 GB, free: 167.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/1.352, allocations: 5.075 MB / 0.814 GB, free: 166.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.355, allocations: 265.6 kB / 0.8142 GB, free: 166.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008486/1.363, allocations: 6.186 MB / 0.8203 GB, free: 163.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.364, allocations: 1.81 MB / 0.822 GB, free: 162.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001199/1.365, allocations: 262.3 kB / 0.8223 GB, free: 162.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/1.366, allocations: 161.6 kB / 0.8224 GB, free: 162.8 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/1.366, allocations: 0 / 0.8224 GB, free: 162.8 MB / 0.573 GB Notification: Performance of Templates: time 0.07661/1.443, allocations: 56.6 MB / 0.8777 GB, free: 138.1 MB / 0.573 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)