Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009119/0.0009119, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008932/0.0008932, allocations: 83.77 kB / 261.4 MB, free: 13.45 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.06521/0.06521, allocations: 12.6 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2789/0.2789, allocations: 78.06 MB / 450.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.23e-05/1.242e-05, allocations: 4 kB / 0.5147 GB, free: 29.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/0.09694, allocations: 69.33 MB / 0.5824 GB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.4437, allocations: 100.1 MB / 0.6802 GB, free: 7.859 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.4439, allocations: 83 kB / 0.6803 GB, free: 7.816 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07882/0.5227, allocations: 30.97 MB / 0.7105 GB, free: 14.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5228, allocations: 0 / 0.7105 GB, free: 14.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.632e-05/0.5229, allocations: 24 kB / 0.7105 GB, free: 14.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004555/0.5274, allocations: 1.735 MB / 0.7122 GB, free: 12.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.5275, allocations: 11.97 kB / 0.7122 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/0.531, allocations: 0.5691 MB / 0.7128 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.5324, allocations: 0.7899 MB / 0.7136 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.5327, allocations: 236.2 kB / 0.7138 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.5329, allocations: 50.97 kB / 0.7138 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001457/0.5344, allocations: 0.8033 MB / 0.7146 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.5359, allocations: 0.8423 MB / 0.7155 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.5359, allocations: 0 / 0.7155 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.536, allocations: 4 kB / 0.7155 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.536, allocations: 16 kB / 0.7155 GB, free: 10.02 MB / 458.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.006415/0.5424, allocations: 3.713 MB / 0.7191 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007125/0.5496, allocations: 2.631 MB / 0.7217 GB, free: 4.684 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000731/0.5503, allocations: 0.521 MB / 0.7222 GB, free: 4.398 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.5505, allocations: 23.75 kB / 0.7222 GB, free: 4.375 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009809/0.5514, allocations: 0.6609 MB / 0.7228 GB, free: 3.918 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 3.577e-06/0.5515, allocations: 0 / 0.7228 GB, free: 3.918 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.01172/0.5632, allocations: 3.953 MB / 0.7267 GB, free: 496 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.5633, allocations: 115.6 kB / 0.7268 GB, free: 356 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.5646, allocations: 0.8455 MB / 0.7276 GB, free: 15.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.5648, allocations: 25.7 kB / 0.7277 GB, free: 15.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.5651, allocations: 0.516 MB / 0.7282 GB, free: 15.42 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.5655, allocations: 341.3 kB / 0.7285 GB, free: 15.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.288e-05/0.5656, allocations: 0 / 0.7285 GB, free: 15.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5657, allocations: 345.7 kB / 0.7288 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.5664, allocations: 449.3 kB / 0.7293 GB, free: 14.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.5672, allocations: 0.5738 MB / 0.7298 GB, free: 14.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007351/0.5679, allocations: 0.4893 MB / 0.7303 GB, free: 13.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.5679, allocations: 4 kB / 0.7303 GB, free: 13.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01171/0.5796, allocations: 3.974 MB / 0.7342 GB, free: 10.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.649e-05/0.5797, allocations: 60.81 kB / 0.7342 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5797, allocations: 4 kB / 0.7342 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005257/0.585, allocations: 1.515 MB / 0.7357 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.5863, allocations: 206.9 kB / 0.7359 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.5993, allocations: 6.538 MB / 0.7423 GB, free: 2.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.601, allocations: 191 kB / 0.7425 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.6012, allocations: 35.98 kB / 0.7425 GB, free: 2.41 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003593/0.6015, allocations: 157.6 kB / 0.7427 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.6019, allocations: 130.4 kB / 0.7428 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/0.6137, allocations: 4.059 MB / 0.7468 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.6138, allocations: 15.95 kB / 0.7468 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.6138, allocations: 8 kB / 0.7468 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.6138, allocations: 3.984 kB / 0.7468 GB, free: 14.01 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 postOpt removeSimpleEquations (simulation): time 0.01352/0.6274, allocations: 5.549 MB / 0.7522 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.6274, allocations: 3.984 kB / 0.7522 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/0.6281, allocations: 103.8 kB / 0.7523 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/0.6327, allocations: 1.481 MB / 0.7537 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.6328, allocations: 11.98 kB / 0.7538 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.6458, allocations: 7.531 MB / 0.7611 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6459, allocations: 4 kB / 0.7611 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.6586, allocations: 4.812 MB / 0.7658 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.6592, allocations: 227.3 kB / 0.766 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.6594, allocations: 8 kB / 0.766 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.6608, allocations: 131.9 kB / 0.7662 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005352/0.6613, allocations: 193 kB / 0.7664 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/0.6614, allocations: 28 kB / 0.7664 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009689/0.6624, allocations: 0.6415 MB / 0.767 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.6624, allocations: 0 / 0.767 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001365/0.6637, allocations: 407.5 kB / 0.7674 GB, free: 8.484 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002788/0.664, allocations: 146.9 kB / 0.7675 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004826/0.6689, allocations: 2.035 MB / 0.7695 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.607e-05/0.6689, allocations: 4 kB / 0.7695 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003748/0.6727, allocations: 1.54 MB / 0.771 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/0.6734, allocations: 92.42 kB / 0.7711 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.6768, allocations: 1.794 MB / 0.7729 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.6775, allocations: 1.159 MB / 0.774 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004285/0.678, allocations: 86.7 kB / 0.7741 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.6782, allocations: 67.42 kB / 0.7741 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.6782, allocations: 0 / 0.7741 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.02991/0.7081, allocations: 19.24 MB / 0.7929 GB, free: 14.19 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)