Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009814/0.0009815, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009184/0.0009185, allocations: 91.36 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07117/0.07117, allocations: 12.59 MB / 327.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2878/0.2878, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.153e-05, allocations: 12 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 69.32 MB / 0.5895 GB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.5071, allocations: 101.1 MB / 0.6882 GB, free: 14.37 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.5074, allocations: 77.45 kB / 0.6883 GB, free: 14.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1803/0.6877, allocations: 67.36 MB / 0.7541 GB, free: 5.543 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6878, allocations: 0 / 0.7541 GB, free: 5.543 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002287/0.688, allocations: 59.94 kB / 0.7541 GB, free: 5.484 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01271/0.7007, allocations: 4.032 MB / 0.7581 GB, free: 1.371 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.7008, allocations: 15.98 kB / 0.7581 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.7109, allocations: 1.596 MB / 0.7597 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/0.7148, allocations: 1.631 MB / 0.7612 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007631/0.7155, allocations: 0.7447 MB / 0.762 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006596/0.7162, allocations: 208 kB / 0.7622 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005943/0.7222, allocations: 2.56 MB / 0.7647 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.7222, allocations: 0 / 0.7647 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.7226, allocations: 88 kB / 0.7648 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.7226, allocations: 48 kB / 0.7648 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004522/0.7271, allocations: 2.32 MB / 0.7671 GB, free: 7.891 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 preOpt removeSimpleEquations (simulation): time 0.01944/0.7466, allocations: 9.9 MB / 0.7767 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.757, allocations: 4.187 MB / 0.7808 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003224/0.7603, allocations: 1.531 MB / 0.7823 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/0.7607, allocations: 41.95 kB / 0.7824 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00369/0.7644, allocations: 1.784 MB / 0.7841 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=247): time 5.31e-06/0.7645, allocations: 0 / 0.7841 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of matching and sorting (n=247): time 0.04093/0.8054, allocations: 12.56 MB / 0.7964 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.8055, allocations: 180.3 kB / 0.7965 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.8091, allocations: 1.862 MB / 0.7984 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000594/0.8097, allocations: 65.7 kB / 0.7984 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.8109, allocations: 1.208 MB / 0.7996 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/0.8122, allocations: 0.8548 MB / 0.8004 GB, free: 5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/0.8126, allocations: 47.94 kB / 0.8005 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.8128, allocations: 394.9 kB / 0.8009 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.8155, allocations: 1.255 MB / 0.8021 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002797/0.8183, allocations: 1.562 MB / 0.8036 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/0.8211, allocations: 1.481 MB / 0.8051 GB, free: 108 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.8211, allocations: 0 / 0.8051 GB, free: 108 kB / 0.5261 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03991/0.861, allocations: 12.61 MB / 0.8174 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.502e-05/0.8611, allocations: 110.8 kB / 0.8175 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/0.8612, allocations: 8 kB / 0.8175 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/0.879, allocations: 5.156 MB / 0.8225 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.8814, allocations: 419.4 kB / 0.8229 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04194/0.9234, allocations: 17.94 MB / 0.8404 GB, free: 11.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/0.9275, allocations: 0.5406 MB / 0.841 GB, free: 11.06 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004666/0.928, allocations: 91.97 kB / 0.8411 GB, free: 10.97 MB / 0.573 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.0008397/0.9289, allocations: 299 kB / 0.8413 GB, free: 10.66 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008199/0.9297, allocations: 296.3 kB / 0.8416 GB, free: 10.37 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0403/0.97, allocations: 12.9 MB / 0.8542 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.417e-05/0.9701, allocations: 24 kB / 0.8542 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.999e-05/0.9701, allocations: 20 kB / 0.8543 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.466e-05/0.9702, allocations: 15.91 kB / 0.8543 GB, free: 13.36 MB / 0.5886 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.3081/1.278, allocations: 16.42 MB / 0.8703 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/1.278, allocations: 1.375 kB / 0.8703 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.28, allocations: 245.1 kB / 0.8705 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.016/1.296, allocations: 5.006 MB / 0.8754 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006934/1.297, allocations: 51.5 kB / 0.8755 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03978/1.337, allocations: 19.31 MB / 0.8943 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.337, allocations: 7 kB / 0.8943 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03854/1.375, allocations: 14.86 MB / 0.9089 GB, free: 148.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/1.376, allocations: 414.4 kB / 0.9092 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/1.377, allocations: 44.31 kB / 0.9093 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/1.38, allocations: 406.1 kB / 0.9097 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002137/1.382, allocations: 0.5759 MB / 0.9102 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.382, allocations: 75.7 kB / 0.9103 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001734/1.384, allocations: 1.412 MB / 0.9117 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.384, allocations: 0.9375 kB / 0.9117 GB, free: 148.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002852/1.387, allocations: 1.114 MB / 0.9128 GB, free: 147.9 MB / 0.5886 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.0004092/1.387, allocations: 187.4 kB / 0.913 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.401, allocations: 5.735 MB / 0.9186 GB, free: 145.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.401, allocations: 0 / 0.9186 GB, free: 145.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01189/1.413, allocations: 4.37 MB / 0.9228 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/1.414, allocations: 234.2 kB / 0.9231 GB, free: 144 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00652/1.421, allocations: 4.017 MB / 0.927 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009767/1.422, allocations: 1.866 MB / 0.9288 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009374/1.423, allocations: 213.2 kB / 0.929 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/1.423, allocations: 144.5 kB / 0.9291 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/1.424, allocations: 1.312 kB / 0.9291 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.06832/1.492, allocations: 55.24 MB / 0.9831 GB, free: 112.2 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)