Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.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.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008177/0.0008178, allocations: 95.39 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4441/0.4441, allocations: 78.14 MB / 409.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.466e-05/1.47e-05, allocations: 3.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 69.36 MB / 0.5413 GB, free: 6.961 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3581/0.49, allocations: 97.73 MB / 0.6368 GB, free: 2.023 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4903, allocations: 78 kB / 0.6368 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09343/0.5837, allocations: 34.7 MB / 0.6707 GB, free: 15.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5838, allocations: 0 / 0.6707 GB, free: 15.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.613e-05/0.5839, allocations: 20 kB / 0.6707 GB, free: 15.21 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004257/0.5881, allocations: 1.687 MB / 0.6724 GB, free: 13.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.5882, allocations: 16.03 kB / 0.6724 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/0.5915, allocations: 0.5534 MB / 0.6729 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.593, allocations: 0.7916 MB / 0.6737 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.5932, allocations: 198.5 kB / 0.6739 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.5934, allocations: 47.91 kB / 0.6739 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001425/0.5948, allocations: 0.8006 MB / 0.6747 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.5963, allocations: 0.8376 MB / 0.6755 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.5963, allocations: 0 / 0.6755 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.5964, allocations: 3.938 kB / 0.6756 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.5964, allocations: 20 kB / 0.6756 GB, free: 10.1 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.006316/0.6027, allocations: 3.703 MB / 0.6792 GB, free: 6.215 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007086/0.6098, allocations: 2.573 MB / 0.6817 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/0.6106, allocations: 0.5165 MB / 0.6822 GB, free: 3.027 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.6108, allocations: 16.75 kB / 0.6822 GB, free: 3.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.6108, allocations: 47.34 kB / 0.6823 GB, free: 2.957 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.495e-06/0.6108, allocations: 0 / 0.6823 GB, free: 2.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01201/0.6228, allocations: 3.801 MB / 0.686 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.623, allocations: 145.2 kB / 0.6861 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.6244, allocations: 0.796 MB / 0.6869 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.6246, allocations: 25.7 kB / 0.6869 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.6251, allocations: 0.5094 MB / 0.6874 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004913/0.6256, allocations: 327.1 kB / 0.6877 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.6257, allocations: 0 / 0.6877 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6258, allocations: 341.9 kB / 0.6881 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/0.6265, allocations: 422.6 kB / 0.6885 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008313/0.6274, allocations: 0.5466 MB / 0.689 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007799/0.6282, allocations: 482.2 kB / 0.6895 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6282, allocations: 0.6562 kB / 0.6895 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01183/0.64, allocations: 3.927 MB / 0.6933 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004238/0.6405, allocations: 1.206 MB / 0.6945 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.6405, allocations: 4 kB / 0.6945 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004931/0.6454, allocations: 1.46 MB / 0.6959 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.6463, allocations: 166.4 kB / 0.6961 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.659, allocations: 6.348 MB / 0.7023 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.6606, allocations: 172.5 kB / 0.7024 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.6607, allocations: 35.98 kB / 0.7025 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.6608, allocations: 4 kB / 0.7025 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01186/0.6726, allocations: 3.774 MB / 0.7061 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6726, allocations: 4 kB / 0.7061 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004906/0.6776, allocations: 1.449 MB / 0.7076 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.6784, allocations: 159.8 kB / 0.7077 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.6912, allocations: 6.34 MB / 0.7139 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.6931, allocations: 163.1 kB / 0.7141 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.6933, allocations: 36.16 kB / 0.7141 GB, free: 1.879 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004943/0.6938, allocations: 160.4 kB / 0.7142 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004833/0.6943, allocations: 126.5 kB / 0.7144 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.7055, allocations: 3.886 MB / 0.7182 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.7055, allocations: 8 kB / 0.7182 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.7055, allocations: 9.219 kB / 0.7182 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.7056, allocations: 3.984 kB / 0.7182 GB, free: 13.66 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.01312/0.7187, allocations: 5.416 MB / 0.7235 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.7187, allocations: 4 kB / 0.7235 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.7194, allocations: 111.9 kB / 0.7236 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004507/0.7239, allocations: 1.399 MB / 0.7249 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.7241, allocations: 18.94 kB / 0.725 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/0.735, allocations: 5.617 MB / 0.7305 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.735, allocations: 4 kB / 0.7305 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.7476, allocations: 4.611 MB / 0.735 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.7481, allocations: 219.3 kB / 0.7352 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.7483, allocations: 8.844 kB / 0.7352 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.7495, allocations: 123.8 kB / 0.7353 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004846/0.75, allocations: 184.5 kB / 0.7355 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/0.7501, allocations: 24 kB / 0.7355 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000988/0.7511, allocations: 0.6136 MB / 0.7361 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7511, allocations: 0 / 0.7361 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001916/0.7531, allocations: 0.6006 MB / 0.7367 GB, free: 10.45 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003049/0.7534, allocations: 152.9 kB / 0.7368 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008994/0.7624, allocations: 3.504 MB / 0.7402 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.7624, allocations: 0.75 kB / 0.7402 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003821/0.7662, allocations: 1.391 MB / 0.7416 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/0.7671, allocations: 90.61 kB / 0.7417 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.7705, allocations: 1.728 MB / 0.7434 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.7712, allocations: 1.162 MB / 0.7445 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008173/0.772, allocations: 196.2 kB / 0.7447 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.7722, allocations: 57.61 kB / 0.7448 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/0.7722, allocations: 0 / 0.7448 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of Templates: time 0.2914/1.064, allocations: 25.47 MB / 0.7696 GB, free: 147.3 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)