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.001/0.001, allocations: 174.6 kB / 15.77 MB, free: 6.324 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.478/1.478, allocations: 223.3 MB / 239.8 MB, free: 1.738 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.0008736/0.0008736, allocations: 98.91 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4597/0.4597, allocations: 78.62 MB / 420.7 MB, free: 44.29 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.000407, allocations: 16 kB / 0.4888 GB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4099, allocations: 69.34 MB / 0.5565 GB, free: 38.81 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01004/0.42, allocations: 12.74 MB / 0.569 GB, free: 32.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007204/0.4273, allocations: 3.451 MB / 0.5723 GB, free: 30.06 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.4297, allocations: 31.69 kB / 0.5724 GB, free: 30.06 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.431, allocations: 390.2 kB / 0.5727 GB, free: 29.89 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.4349, allocations: 1.195 MB / 0.5739 GB, free: 29.08 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002874/0.4378, allocations: 1.275 MB / 0.5751 GB, free: 28.43 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003753/0.4415, allocations: 3.331 MB / 0.5784 GB, free: 26.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009902/0.4425, allocations: 0.693 MB / 0.5791 GB, free: 26.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.4443, allocations: 1.308 MB / 0.5803 GB, free: 25.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.4459, allocations: 1.71 MB / 0.582 GB, free: 25.05 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.4463, allocations: 139.5 kB / 0.5821 GB, free: 25.05 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007466/0.4471, allocations: 274.3 kB / 0.5824 GB, free: 25.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004132/0.4475, allocations: 0.5891 MB / 0.583 GB, free: 24.67 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.448, allocations: 0.5185 MB / 0.5835 GB, free: 24.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.4501, allocations: 2.943 MB / 0.5864 GB, free: 23.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4501, allocations: 0 / 0.5864 GB, free: 23.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4501, allocations: 0 / 0.5864 GB, free: 23.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.443e-05/0.4502, allocations: 4 kB / 0.5864 GB, free: 23.43 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.01982/0.4701, allocations: 6.164 MB / 0.5924 GB, free: 21.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4701, allocations: 8.625 kB / 0.5924 GB, free: 21.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.485, allocations: 2.299 MB / 0.5946 GB, free: 20.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003961/0.489, allocations: 1.77 MB / 0.5964 GB, free: 19.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005859/0.4896, allocations: 0.7518 MB / 0.5971 GB, free: 19.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.4901, allocations: 218.6 kB / 0.5973 GB, free: 18.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006707/0.4968, allocations: 3.209 MB / 0.6004 GB, free: 17.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.4968, allocations: 0 / 0.6004 GB, free: 17.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/0.4971, allocations: 81.81 kB / 0.6005 GB, free: 17.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.4971, allocations: 61.8 kB / 0.6006 GB, free: 17.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006182/0.5033, allocations: 2.962 MB / 0.6035 GB, free: 16.75 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.02003/0.5234, allocations: 10.11 MB / 0.6133 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.5356, allocations: 4.858 MB / 0.6181 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004867/0.5405, allocations: 2.158 MB / 0.6202 GB, free: 8.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.5408, allocations: 43.89 kB / 0.6202 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004285/0.5451, allocations: 2.42 MB / 0.6226 GB, free: 5.988 MB / 426.7 MB Notification: Performance of pre-optimization done (n=247): time 4.047e-06/0.5452, allocations: 0 / 0.6226 GB, free: 5.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=247): time 0.1363/0.6814, allocations: 36.29 MB / 0.658 GB, free: 1.574 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6816, allocations: 180.2 kB / 0.6582 GB, free: 1.359 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/0.685, allocations: 2.265 MB / 0.6604 GB, free: 15.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006699/0.6857, allocations: 69.7 kB / 0.6605 GB, free: 15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009203/0.6867, allocations: 1.172 MB / 0.6616 GB, free: 13.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.6877, allocations: 0.8665 MB / 0.6625 GB, free: 12.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.688, allocations: 68 kB / 0.6625 GB, free: 12.87 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.6882, allocations: 428.8 kB / 0.663 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00454/0.6927, allocations: 2.134 MB / 0.665 GB, free: 10.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/0.6975, allocations: 2.498 MB / 0.6675 GB, free: 7.719 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004789/0.7023, allocations: 2.4 MB / 0.6698 GB, free: 5.277 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.7024, allocations: 0 / 0.6698 GB, free: 5.277 MB / 474.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04544/0.7478, allocations: 15.15 MB / 0.6846 GB, free: 6.051 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.748, allocations: 118.7 kB / 0.6847 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.748, allocations: 8 kB / 0.6847 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02072/0.7687, allocations: 6.362 MB / 0.691 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/0.7718, allocations: 0.5656 MB / 0.6915 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06287/0.8347, allocations: 25.18 MB / 0.7161 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/0.8398, allocations: 0.587 MB / 0.7167 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004849/0.8403, allocations: 120 kB / 0.7168 GB, free: 4.918 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.001375/0.8417, allocations: 0.5284 MB / 0.7173 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009087/0.8426, allocations: 300.2 kB / 0.7176 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04494/0.8876, allocations: 14.72 MB / 0.732 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/0.8877, allocations: 24 kB / 0.732 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.13e-05/0.8877, allocations: 20 kB / 0.732 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.108e-05/0.8878, allocations: 11.95 kB / 0.732 GB, free: 5.25 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.04886/0.9367, allocations: 18.32 MB / 0.7499 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.9367, allocations: 0 / 0.7499 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.9385, allocations: 239.7 kB / 0.7501 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0192/0.9577, allocations: 6.271 MB / 0.7563 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008065/0.9585, allocations: 59.94 kB / 0.7563 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3566/1.315, allocations: 25.5 MB / 0.7812 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.315, allocations: 3.266 kB / 0.7812 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04705/1.362, allocations: 17.27 MB / 0.7981 GB, free: 162.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.363, allocations: 421.1 kB / 0.7985 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007181/1.364, allocations: 47.88 kB / 0.7985 GB, free: 162.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/1.367, allocations: 409.3 kB / 0.7989 GB, free: 162 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002505/1.37, allocations: 0.581 MB / 0.7995 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/1.37, allocations: 65.52 kB / 0.7996 GB, free: 161.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002772/1.373, allocations: 1.49 MB / 0.801 GB, free: 161.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/1.373, allocations: 0 / 0.801 GB, free: 161.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004878/1.378, allocations: 1.175 MB / 0.8022 GB, free: 161.2 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.0005049/1.378, allocations: 176.1 kB / 0.8023 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02052/1.399, allocations: 7.484 MB / 0.8096 GB, free: 158.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.399, allocations: 0 / 0.8096 GB, free: 158.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01409/1.413, allocations: 5.073 MB / 0.8146 GB, free: 156.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/1.415, allocations: 268.1 kB / 0.8148 GB, free: 156.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008879/1.424, allocations: 6.256 MB / 0.8209 GB, free: 152.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.425, allocations: 1.808 MB / 0.8227 GB, free: 151 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009246/1.426, allocations: 175 kB / 0.8229 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/1.426, allocations: 0 / 0.8229 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.06469/1.491, allocations: 63.67 MB / 0.8851 GB, free: 90.11 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)