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.001452/0.001452, allocations: 172.5 kB / 7.646 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.276/1.276, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.0008429/0.000843, allocations: 100.6 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4541/0.4541, allocations: 78.13 MB / 409.4 MB, free: 6.492 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.773e-05/1.772e-05, allocations: 7.938 kB / 485 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1403, allocations: 69.36 MB / 0.5413 GB, free: 6.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.5298, allocations: 98.83 MB / 0.6378 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.5301, allocations: 79.95 kB / 0.6379 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1764/0.7065, allocations: 68.33 MB / 0.7046 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7066, allocations: 0 / 0.7046 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002945/0.7069, allocations: 59.94 kB / 0.7047 GB, free: 12.31 MB / 0.5105 GB 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.013/0.7199, allocations: 4.015 MB / 0.7086 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.72, allocations: 15.95 kB / 0.7086 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.7302, allocations: 1.596 MB / 0.7102 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.7343, allocations: 1.623 MB / 0.7118 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007586/0.7351, allocations: 0.6813 MB / 0.7125 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007887/0.7359, allocations: 127.9 kB / 0.7126 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004915/0.7408, allocations: 2.215 MB / 0.7147 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005092/0.7459, allocations: 2.27 MB / 0.717 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.746, allocations: 0 / 0.717 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.7462, allocations: 3.984 kB / 0.717 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/0.7463, allocations: 56 kB / 0.717 GB, free: 15.37 MB / 0.5261 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.01898/0.7653, allocations: 9.564 MB / 0.7264 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009491/0.7748, allocations: 4.087 MB / 0.7303 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.7772, allocations: 1.469 MB / 0.7318 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003548/0.7776, allocations: 37.97 kB / 0.7318 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003075/0.7807, allocations: 1.709 MB / 0.7335 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=247): time 5.611e-06/0.7807, allocations: 4 kB / 0.7335 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=247): time 0.03874/0.8194, allocations: 12.32 MB / 0.7455 GB, free: 1.586 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.8196, allocations: 180.2 kB / 0.7457 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/0.8228, allocations: 1.693 MB / 0.7473 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005836/0.8234, allocations: 26.55 kB / 0.7474 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009426/0.8244, allocations: 1.211 MB / 0.7486 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.8258, allocations: 0.8158 MB / 0.7493 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/0.8262, allocations: 0 / 0.7493 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.8264, allocations: 403 kB / 0.7497 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/0.8287, allocations: 1.204 MB / 0.7509 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.8311, allocations: 1.498 MB / 0.7524 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.8336, allocations: 1.322 MB / 0.7537 GB, free: 9.043 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.8336, allocations: 3.938 kB / 0.7537 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.3174/1.151, allocations: 12.28 MB / 0.7657 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.988e-05/1.151, allocations: 113.4 kB / 0.7658 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.151, allocations: 8.188 kB / 0.7658 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01556/1.167, allocations: 4.959 MB / 0.7706 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/1.169, allocations: 414.8 kB / 0.771 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03856/1.208, allocations: 17.6 MB / 0.7882 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/1.212, allocations: 497.5 kB / 0.7887 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005605/1.212, allocations: 86.91 kB / 0.7888 GB, free: 111 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * 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.001094/1.213, allocations: 217.1 kB / 0.789 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008644/1.214, allocations: 293.3 kB / 0.7892 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03946/1.254, allocations: 12.6 MB / 0.8015 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.323e-05/1.254, allocations: 25.19 kB / 0.8016 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8e-05/1.254, allocations: 23.58 kB / 0.8016 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001224/1.254, allocations: 18.75 kB / 0.8016 GB, free: 110.4 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.04363/1.298, allocations: 15.92 MB / 0.8172 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/1.298, allocations: 0 / 0.8172 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.299, allocations: 251.1 kB / 0.8174 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01516/1.314, allocations: 4.964 MB / 0.8222 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006986/1.315, allocations: 19.44 kB / 0.8223 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03774/1.353, allocations: 19.02 MB / 0.8408 GB, free: 98.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.353, allocations: 4 kB / 0.8408 GB, free: 98.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03967/1.393, allocations: 14.57 MB / 0.8551 GB, free: 94.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.394, allocations: 413.6 kB / 0.8555 GB, free: 94.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/1.395, allocations: 7.906 kB / 0.8555 GB, free: 94.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003641/1.399, allocations: 369.7 kB / 0.8558 GB, free: 94.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002212/1.401, allocations: 0.5801 MB / 0.8564 GB, free: 94.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004108/1.401, allocations: 62.53 kB / 0.8564 GB, free: 94.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002082/1.403, allocations: 1.274 MB / 0.8577 GB, free: 93.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.21e-07/1.403, allocations: 0 / 0.8577 GB, free: 93.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00417/1.408, allocations: 1 MB / 0.8587 GB, free: 93.88 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 () * 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005957/1.408, allocations: 159.6 kB / 0.8588 GB, free: 93.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01362/1.422, allocations: 5.546 MB / 0.8642 GB, free: 89.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.422, allocations: 4.844 kB / 0.8642 GB, free: 89.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/1.433, allocations: 4.251 MB / 0.8684 GB, free: 85.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/1.435, allocations: 189.5 kB / 0.8686 GB, free: 85.46 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006526/1.442, allocations: 3.911 MB / 0.8724 GB, free: 81.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.443, allocations: 1.865 MB / 0.8742 GB, free: 80.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009338/1.444, allocations: 209.3 kB / 0.8744 GB, free: 80.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/1.444, allocations: 143.2 kB / 0.8745 GB, free: 80.19 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/1.444, allocations: 1.688 kB / 0.8745 GB, free: 80.19 MB / 0.5573 GB Notification: Performance of Templates: time 0.06794/1.512, allocations: 50.99 MB / 0.9243 GB, free: 40.85 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)