Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008485/0.0008486, allocations: 95.36 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4536/0.4536, allocations: 78.12 MB / 409.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.728e-05, allocations: 7.938 kB / 485 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1356, allocations: 69.36 MB / 0.5413 GB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3618/0.4974, allocations: 98.33 MB / 0.6374 GB, free: 1.426 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4976, allocations: 80.8 kB / 0.6374 GB, free: 1.348 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1573/0.655, allocations: 60.82 MB / 0.6968 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.128e-06/0.655, allocations: 3.984 kB / 0.6968 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002377/0.6553, allocations: 51.94 kB / 0.6969 GB, free: 4.344 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01345/0.6687, allocations: 3.762 MB / 0.7006 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.6688, allocations: 8.031 kB / 0.7006 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.6793, allocations: 1.576 MB / 0.7021 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.6837, allocations: 1.476 MB / 0.7035 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007724/0.6845, allocations: 0.6084 MB / 0.7041 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.6855, allocations: 116 kB / 0.7042 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005284/0.6908, allocations: 2.088 MB / 0.7063 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006866/0.6977, allocations: 2.153 MB / 0.7084 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.623e-05/0.6978, allocations: 0 / 0.7084 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005401/0.6984, allocations: 0 / 0.7084 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/0.6984, allocations: 48.98 kB / 0.7084 GB, free: 8.27 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.02093/0.7194, allocations: 9.361 MB / 0.7176 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009797/0.7292, allocations: 3.971 MB / 0.7215 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.7318, allocations: 1.376 MB / 0.7228 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00038/0.7322, allocations: 37.88 kB / 0.7228 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.7322, allocations: 60.52 kB / 0.7229 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 5.39e-06/0.7323, allocations: 3.984 kB / 0.7229 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of matching and sorting (n=229): time 0.03781/0.7701, allocations: 11.93 MB / 0.7345 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.7702, allocations: 132.8 kB / 0.7347 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.7729, allocations: 1.511 MB / 0.7361 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006078/0.7736, allocations: 25.7 kB / 0.7362 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009791/0.7745, allocations: 1.141 MB / 0.7373 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/0.7759, allocations: 0.758 MB / 0.738 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004307/0.7763, allocations: 0 / 0.738 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.7765, allocations: 390.3 kB / 0.7384 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.7788, allocations: 1.117 MB / 0.7395 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.781, allocations: 1.412 MB / 0.7409 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.7832, allocations: 1.235 MB / 0.7421 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.7832, allocations: 0 / 0.7421 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03671/0.8199, allocations: 12.04 MB / 0.7538 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001218/0.8212, allocations: 2.733 MB / 0.7565 GB, free: 6.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/0.8213, allocations: 4 kB / 0.7565 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01658/0.8379, allocations: 4.977 MB / 0.7614 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.8398, allocations: 331.5 kB / 0.7617 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3147/1.155, allocations: 17.54 MB / 0.7788 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/1.158, allocations: 441.8 kB / 0.7792 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/1.158, allocations: 81.44 kB / 0.7793 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/1.158, allocations: 5.188 kB / 0.7793 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03493/1.193, allocations: 11.72 MB / 0.7908 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/1.193, allocations: 6.25 kB / 0.7908 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01631/1.21, allocations: 4.967 MB / 0.7956 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/1.212, allocations: 321.9 kB / 0.7959 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04226/1.254, allocations: 17.55 MB / 0.8131 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/1.258, allocations: 418.1 kB / 0.8135 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005815/1.258, allocations: 77.52 kB / 0.8135 GB, free: 109.8 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.00103/1.259, allocations: 153 kB / 0.8137 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009101/1.26, allocations: 275.2 kB / 0.8139 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03532/1.296, allocations: 12.19 MB / 0.8258 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.052e-05/1.296, allocations: 22.94 kB / 0.8259 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-05/1.296, allocations: 17.81 kB / 0.8259 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.828e-05/1.296, allocations: 14.16 kB / 0.8259 GB, free: 107.3 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.04384/1.34, allocations: 15.52 MB / 0.8411 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.34, allocations: 0 / 0.8411 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.341, allocations: 259.2 kB / 0.8413 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/1.356, allocations: 4.755 MB / 0.846 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006392/1.357, allocations: 14.72 kB / 0.846 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03364/1.391, allocations: 15.17 MB / 0.8608 GB, free: 94.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.391, allocations: 4 kB / 0.8608 GB, free: 94.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03796/1.429, allocations: 14.11 MB / 0.8746 GB, free: 82.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009633/1.43, allocations: 381.6 kB / 0.8749 GB, free: 82.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.431, allocations: 4 kB / 0.8749 GB, free: 82.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003233/1.434, allocations: 328 kB / 0.8752 GB, free: 82.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001856/1.436, allocations: 0.5474 MB / 0.8758 GB, free: 81.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003526/1.436, allocations: 55.19 kB / 0.8758 GB, free: 81.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001624/1.438, allocations: 1.134 MB / 0.8769 GB, free: 80.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.438, allocations: 4 kB / 0.8769 GB, free: 80.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005342/1.443, allocations: 1.55 MB / 0.8785 GB, free: 79.26 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004819/1.444, allocations: 155.5 kB / 0.8786 GB, free: 79.13 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02334/1.467, allocations: 9.134 MB / 0.8875 GB, free: 71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.467, allocations: 0 / 0.8875 GB, free: 71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/1.477, allocations: 3.79 MB / 0.8912 GB, free: 67.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.479, allocations: 157.4 kB / 0.8914 GB, free: 67.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/1.485, allocations: 3.968 MB / 0.8953 GB, free: 63.95 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/1.486, allocations: 1.798 MB / 0.897 GB, free: 62.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001491/1.488, allocations: 351.9 kB / 0.8973 GB, free: 62.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003804/1.488, allocations: 107.2 kB / 0.8974 GB, free: 62.21 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/1.488, allocations: 0 / 0.8974 GB, free: 62.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.08438/1.572, allocations: 69.65 MB / 0.9655 GB, free: 280 kB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)