Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008902/0.0008905, allocations: 169.9 kB / 7.646 MB, free: 1.434 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.252/1.252, allocations: 205.3 MB / 213.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007687/0.0007687, allocations: 86.7 kB / 261.4 MB, free: 1.676 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.05974/0.05974, allocations: 12.59 MB / 321.9 MB, free: 15.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4164/0.4164, allocations: 78.05 MB / 450.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.328e-05/1.337e-05, allocations: 2.625 kB / 0.5147 GB, free: 41.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09149, allocations: 69.32 MB / 0.5824 GB, free: 376 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.2054, allocations: 99.91 MB / 0.68 GB, free: 12.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.2057, allocations: 87.94 kB / 0.68 GB, free: 12.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3802/0.5859, allocations: 59.04 MB / 0.7377 GB, free: 74.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5859, allocations: 4 kB / 0.7377 GB, free: 74.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001904/0.5861, allocations: 47.94 kB / 0.7378 GB, free: 74.07 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01125/0.5974, allocations: 3.772 MB / 0.7414 GB, free: 70.24 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5975, allocations: 8.031 kB / 0.7414 GB, free: 70.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00972/0.6072, allocations: 1.576 MB / 0.743 GB, free: 68.65 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.6104, allocations: 1.483 MB / 0.7444 GB, free: 67.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005336/0.6109, allocations: 0.6123 MB / 0.745 GB, free: 66.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006336/0.6116, allocations: 119.9 kB / 0.7452 GB, free: 66.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003869/0.6155, allocations: 2.085 MB / 0.7472 GB, free: 64.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003916/0.6194, allocations: 2.149 MB / 0.7493 GB, free: 62.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.6194, allocations: 0 / 0.7493 GB, free: 62.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.6197, allocations: 4 kB / 0.7493 GB, free: 62.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.6197, allocations: 47.95 kB / 0.7493 GB, free: 61.97 MB / 474.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.01675/0.6365, allocations: 9.353 MB / 0.7585 GB, free: 52.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008908/0.6454, allocations: 3.974 MB / 0.7623 GB, free: 48.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.6473, allocations: 1.378 MB / 0.7637 GB, free: 46.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.6477, allocations: 49.91 kB / 0.7637 GB, free: 46.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.6478, allocations: 52.56 kB / 0.7638 GB, free: 46.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 7.885e-06/0.6478, allocations: 0 / 0.7638 GB, free: 46.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=229): time 0.03457/0.6824, allocations: 11.93 MB / 0.7754 GB, free: 34.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.6825, allocations: 132.8 kB / 0.7756 GB, free: 34.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.6847, allocations: 1.519 MB / 0.7771 GB, free: 32.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005449/0.6852, allocations: 25.7 kB / 0.7771 GB, free: 32.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.6858, allocations: 1.124 MB / 0.7782 GB, free: 31.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007026/0.6865, allocations: 0.7657 MB / 0.7789 GB, free: 31.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.6867, allocations: 0 / 0.7789 GB, free: 31.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.6868, allocations: 390.3 kB / 0.7793 GB, free: 30.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.6883, allocations: 1.121 MB / 0.7804 GB, free: 29.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.69, allocations: 1.408 MB / 0.7818 GB, free: 28.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.6916, allocations: 1.238 MB / 0.783 GB, free: 26.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.443e-06/0.6916, allocations: 8 kB / 0.783 GB, free: 26.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03363/0.7252, allocations: 12.03 MB / 0.7947 GB, free: 14.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003985/0.7257, allocations: 2.734 MB / 0.7974 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.7257, allocations: 12 kB / 0.7974 GB, free: 11.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/0.7409, allocations: 4.969 MB / 0.8023 GB, free: 6.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.7427, allocations: 339.5 kB / 0.8026 GB, free: 6.445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03721/0.7799, allocations: 17.54 MB / 0.8197 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/0.7835, allocations: 445.9 kB / 0.8201 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/0.7838, allocations: 75.98 kB / 0.8202 GB, free: 4.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.7838, allocations: 4 kB / 0.8202 GB, free: 4.246 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03649/0.8203, allocations: 11.73 MB / 0.8317 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/0.8204, allocations: 7.984 kB / 0.8317 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01679/0.8372, allocations: 4.969 MB / 0.8365 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.8391, allocations: 319.5 kB / 0.8368 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03913/0.8782, allocations: 17.55 MB / 0.854 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/0.8819, allocations: 422 kB / 0.8544 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.8822, allocations: 79.98 kB / 0.8544 GB, free: 1.031 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * 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.0006132/0.8828, allocations: 154.1 kB / 0.8546 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/0.8833, allocations: 268.6 kB / 0.8549 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03709/0.9204, allocations: 12.19 MB / 0.8668 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.9205, allocations: 27.94 kB / 0.8668 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/0.9205, allocations: 16 kB / 0.8668 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.958e-05/0.9206, allocations: 11.95 kB / 0.8668 GB, free: 4.328 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 postOpt removeSimpleEquations (simulation): time 0.04276/0.9633, allocations: 15.52 MB / 0.882 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.9634, allocations: 4 kB / 0.882 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.9651, allocations: 251.6 kB / 0.8822 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01594/0.9811, allocations: 4.763 MB / 0.8869 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005816/0.9817, allocations: 12 kB / 0.8869 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03503/1.017, allocations: 15.17 MB / 0.9017 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.017, allocations: 0 / 0.9017 GB, free: 332 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2939/1.311, allocations: 14.12 MB / 0.9155 GB, free: 153.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00078/1.312, allocations: 375.3 kB / 0.9158 GB, free: 153.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/1.312, allocations: 9.953 kB / 0.9158 GB, free: 153.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/1.315, allocations: 324.2 kB / 0.9162 GB, free: 153.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001537/1.316, allocations: 0.5414 MB / 0.9167 GB, free: 153.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.316, allocations: 60.14 kB / 0.9167 GB, free: 153.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001328/1.318, allocations: 1.142 MB / 0.9179 GB, free: 153.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.318, allocations: 0 / 0.9179 GB, free: 153.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003689/1.321, allocations: 1.547 MB / 0.9194 GB, free: 153.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004238/1.322, allocations: 148.2 kB / 0.9195 GB, free: 153 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02328/1.345, allocations: 9.13 MB / 0.9284 GB, free: 152.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.345, allocations: 0.5469 kB / 0.9284 GB, free: 152.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01086/1.356, allocations: 3.793 MB / 0.9321 GB, free: 152 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/1.358, allocations: 148.1 kB / 0.9323 GB, free: 152 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006653/1.364, allocations: 3.994 MB / 0.9362 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/1.365, allocations: 1.802 MB / 0.9379 GB, free: 150.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001509/1.367, allocations: 351.2 kB / 0.9383 GB, free: 150.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/1.367, allocations: 105.9 kB / 0.9384 GB, free: 150.1 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/1.367, allocations: 0 / 0.9384 GB, free: 150.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.07866/1.446, allocations: 69.67 MB / 1.006 GB, free: 94.26 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)