Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.001551, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.339/1.339, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0009644/0.0009644, allocations: 99.03 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4307/0.4307, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.209e-05, allocations: 4 kB / 491.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3109, allocations: 69.34 MB / 0.548 GB, free: 20.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.4328, allocations: 100.2 MB / 0.6459 GB, free: 304 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.4331, allocations: 75.95 kB / 0.646 GB, free: 228 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4857/0.9188, allocations: 69.33 MB / 0.7137 GB, free: 95.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.9189, allocations: 0 / 0.7137 GB, free: 95.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000146/0.919, allocations: 59.94 kB / 0.7137 GB, free: 95.17 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01153/0.9306, allocations: 4.035 MB / 0.7177 GB, free: 91.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.9306, allocations: 11.97 kB / 0.7177 GB, free: 91.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009775/0.9404, allocations: 1.603 MB / 0.7192 GB, free: 89.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.9443, allocations: 1.643 MB / 0.7208 GB, free: 87.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006395/0.945, allocations: 0.7409 MB / 0.7216 GB, free: 86.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005895/0.9456, allocations: 208 kB / 0.7218 GB, free: 86.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/0.9496, allocations: 2.564 MB / 0.7243 GB, free: 84.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.9496, allocations: 0 / 0.7243 GB, free: 84.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.9499, allocations: 87.98 kB / 0.7243 GB, free: 83.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.9499, allocations: 52 kB / 0.7244 GB, free: 83.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00355/0.9535, allocations: 2.316 MB / 0.7267 GB, free: 81.55 MB / 490.7 MB 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.01548/0.969, allocations: 9.92 MB / 0.7363 GB, free: 71.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008644/0.9776, allocations: 4.206 MB / 0.7404 GB, free: 66.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/0.98, allocations: 1.527 MB / 0.7419 GB, free: 65.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.9803, allocations: 49.95 kB / 0.742 GB, free: 65.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002499/0.9828, allocations: 1.788 MB / 0.7437 GB, free: 63.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 3.807e-06/0.9828, allocations: 0 / 0.7437 GB, free: 63.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.03797/1.021, allocations: 12.55 MB / 0.756 GB, free: 50.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.021, allocations: 192.2 kB / 0.7562 GB, free: 50.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/1.023, allocations: 1.842 MB / 0.758 GB, free: 48.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006607/1.024, allocations: 69.7 kB / 0.758 GB, free: 48.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/1.025, allocations: 1.188 MB / 0.7592 GB, free: 47.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008396/1.026, allocations: 0.8586 MB / 0.76 GB, free: 46.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/1.026, allocations: 44 kB / 0.7601 GB, free: 46.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/1.026, allocations: 407 kB / 0.7605 GB, free: 46.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/1.028, allocations: 1.255 MB / 0.7617 GB, free: 44.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/1.03, allocations: 1.57 MB / 0.7632 GB, free: 43.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/1.032, allocations: 1.48 MB / 0.7647 GB, free: 41.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.032, allocations: 4 kB / 0.7647 GB, free: 41.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03671/1.069, allocations: 12.62 MB / 0.777 GB, free: 29.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/1.069, allocations: 118.8 kB / 0.7771 GB, free: 28.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.069, allocations: 8 kB / 0.7771 GB, free: 28.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01544/1.084, allocations: 5.211 MB / 0.7822 GB, free: 23.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/1.087, allocations: 427.4 kB / 0.7826 GB, free: 23.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03853/1.126, allocations: 17.89 MB / 0.8001 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004298/1.13, allocations: 0.5367 MB / 0.8006 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005946/1.131, allocations: 95.91 kB / 0.8007 GB, free: 4.582 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_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 (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009655/1.132, allocations: 289.5 kB / 0.801 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009975/1.133, allocations: 304.3 kB / 0.8013 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03804/1.171, allocations: 12.9 MB / 0.8139 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.171, allocations: 24 kB / 0.8139 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.005e-05/1.171, allocations: 24 kB / 0.8139 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.49e-05/1.171, allocations: 11.95 kB / 0.8139 GB, free: 6.969 MB / 0.4948 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.04364/1.215, allocations: 16.43 MB / 0.83 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/1.215, allocations: 3.938 kB / 0.83 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/1.216, allocations: 243.7 kB / 0.8302 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01586/1.232, allocations: 4.987 MB / 0.8351 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00053/1.233, allocations: 47.98 kB / 0.8351 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04169/1.274, allocations: 19.3 MB / 0.854 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.274, allocations: 7.875 kB / 0.854 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04479/1.319, allocations: 14.86 MB / 0.8685 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.32, allocations: 408.9 kB / 0.8689 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007729/1.321, allocations: 48 kB / 0.8689 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003303/1.325, allocations: 407.6 kB / 0.8693 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002188/1.327, allocations: 0.5875 MB / 0.8699 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/1.327, allocations: 63.98 kB / 0.8699 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002186/1.329, allocations: 1.406 MB / 0.8713 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.329, allocations: 0 / 0.8713 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003673/1.333, allocations: 1.116 MB / 0.8724 GB, free: 10.29 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005053/1.333, allocations: 198.9 kB / 0.8726 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01501/1.348, allocations: 5.744 MB / 0.8782 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.349, allocations: 0 / 0.8782 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01274/1.361, allocations: 4.365 MB / 0.8825 GB, free: 15.82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/1.363, allocations: 231.8 kB / 0.8827 GB, free: 15.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0076/1.371, allocations: 4.097 MB / 0.8867 GB, free: 11.46 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.372, allocations: 1.864 MB / 0.8885 GB, free: 9.562 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001045/1.373, allocations: 215.7 kB / 0.8887 GB, free: 9.348 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005367/1.374, allocations: 139.4 kB / 0.8889 GB, free: 9.211 MB / 0.573 GB Notification: Performance of SimCode: time 1.162e-06/1.374, allocations: 0 / 0.8889 GB, free: 9.211 MB / 0.573 GB Notification: Performance of Templates: time 0.3567/1.731, allocations: 55.16 MB / 0.9427 GB, free: 162.7 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)