Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009654/0.0009654, 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 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.00081/0.0008101, allocations: 92 kB / 266.6 MB, free: 9.289 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.0669/0.0669, allocations: 12.6 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.3019/0.3019, allocations: 78.03 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.98e-05, allocations: 6.625 kB / 0.5218 GB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09709, allocations: 69.33 MB / 0.5895 GB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4487, allocations: 100.1 MB / 0.6873 GB, free: 15.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4489, allocations: 86.12 kB / 0.6874 GB, free: 15.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0839/0.5329, allocations: 30.46 MB / 0.7171 GB, free: 5.531 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5329, allocations: 4 kB / 0.7171 GB, free: 5.527 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.774e-05/0.533, allocations: 24 kB / 0.7171 GB, free: 5.504 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004295/0.5373, allocations: 1.694 MB / 0.7188 GB, free: 3.859 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5373, allocations: 19.92 kB / 0.7188 GB, free: 3.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003472/0.5408, allocations: 0.5652 MB / 0.7194 GB, free: 3.316 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.5423, allocations: 0.7604 MB / 0.7201 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/0.5427, allocations: 265.6 kB / 0.7204 GB, free: 2.406 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.5429, allocations: 71.81 kB / 0.7204 GB, free: 2.359 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.5446, allocations: 0.9317 MB / 0.7213 GB, free: 1.746 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5447, allocations: 4 kB / 0.7213 GB, free: 1.742 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.5448, allocations: 30.56 kB / 0.7214 GB, free: 1.734 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.5448, allocations: 19.95 kB / 0.7214 GB, free: 1.715 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.5464, allocations: 0.8435 MB / 0.7222 GB, free: 1.184 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.006455/0.5528, allocations: 3.787 MB / 0.7259 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007537/0.5604, allocations: 2.65 MB / 0.7285 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008356/0.5612, allocations: 0.5423 MB / 0.729 GB, free: 11.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.5614, allocations: 20.75 kB / 0.729 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.5624, allocations: 0.6686 MB / 0.7297 GB, free: 10.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 3.357e-06/0.5624, allocations: 4 kB / 0.7297 GB, free: 10.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=95): time 0.01352/0.576, allocations: 4.018 MB / 0.7336 GB, free: 7.484 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.5761, allocations: 123.6 kB / 0.7337 GB, free: 7.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.5776, allocations: 0.8804 MB / 0.7346 GB, free: 6.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.5778, allocations: 48.12 kB / 0.7346 GB, free: 6.641 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.5782, allocations: 0.5046 MB / 0.7351 GB, free: 6.363 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.5787, allocations: 342.4 kB / 0.7355 GB, free: 6.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.5788, allocations: 17.75 kB / 0.7355 GB, free: 6.066 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5789, allocations: 347.7 kB / 0.7358 GB, free: 5.738 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/0.5799, allocations: 452.9 kB / 0.7362 GB, free: 5.492 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009964/0.5809, allocations: 0.5721 MB / 0.7368 GB, free: 5.094 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.5819, allocations: 0.5479 MB / 0.7373 GB, free: 4.738 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5819, allocations: 0 / 0.7373 GB, free: 4.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01281/0.5948, allocations: 4.096 MB / 0.7413 GB, free: 1.172 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.5948, allocations: 59.41 kB / 0.7414 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.5949, allocations: 11.92 kB / 0.7414 GB, free: 1.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005561/0.6004, allocations: 1.529 MB / 0.7429 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009542/0.6014, allocations: 182.9 kB / 0.7431 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/0.6157, allocations: 6.787 MB / 0.7497 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.6174, allocations: 199.1 kB / 0.7499 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.6176, allocations: 39.98 kB / 0.7499 GB, free: 9.219 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis 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 (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003541/0.618, allocations: 187.6 kB / 0.7501 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.6183, allocations: 134.3 kB / 0.7502 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/0.6307, allocations: 4.147 MB / 0.7543 GB, free: 4.715 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.6307, allocations: 12 kB / 0.7543 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6307, allocations: 4 kB / 0.7543 GB, free: 4.699 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.6308, allocations: 11.94 kB / 0.7543 GB, free: 4.688 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.01428/0.6451, allocations: 5.694 MB / 0.7599 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.6451, allocations: 0 / 0.7599 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.6457, allocations: 103.8 kB / 0.76 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005006/0.6507, allocations: 1.504 MB / 0.7614 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.6509, allocations: 24 kB / 0.7615 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.6653, allocations: 7.713 MB / 0.769 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6654, allocations: 0 / 0.769 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.6792, allocations: 4.873 MB / 0.7738 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.6797, allocations: 223.4 kB / 0.774 GB, free: 96 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.6799, allocations: 20 kB / 0.774 GB, free: 76 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.6811, allocations: 143.9 kB / 0.7741 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005885/0.6817, allocations: 192.6 kB / 0.7743 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.783e-05/0.6818, allocations: 28 kB / 0.7743 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009802/0.6828, allocations: 0.6898 MB / 0.775 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/0.6828, allocations: 0 / 0.775 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001247/0.6841, allocations: 443.5 kB / 0.7754 GB, free: 14.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002844/0.6844, allocations: 155.1 kB / 0.7756 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004857/0.6892, allocations: 2.069 MB / 0.7776 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6892, allocations: 0 / 0.7776 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/0.6932, allocations: 1.58 MB / 0.7791 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.6939, allocations: 104.5 kB / 0.7792 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.697, allocations: 1.669 MB / 0.7809 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.6976, allocations: 1.147 MB / 0.782 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004064/0.6981, allocations: 94.75 kB / 0.7821 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.6983, allocations: 59.44 kB / 0.7821 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of SimCode: time 6.12e-07/0.6983, allocations: 0 / 0.7821 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of Templates: time 0.04302/0.7413, allocations: 20.55 MB / 0.8022 GB, free: 3.004 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)