Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009653/0.0009653, 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 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 87.16 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4107/0.4107, allocations: 78.02 MB / 414.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.436e-05, allocations: 8 kB / 491.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2609, allocations: 69.35 MB / 0.548 GB, free: 20.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3655, allocations: 99.83 MB / 0.6455 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.3657, allocations: 79.95 kB / 0.6455 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4019/0.7677, allocations: 66.63 MB / 0.7106 GB, free: 97.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7677, allocations: 0 / 0.7106 GB, free: 97.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001526/0.7679, allocations: 55.5 kB / 0.7107 GB, free: 97.26 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.009986/0.7779, allocations: 4.006 MB / 0.7146 GB, free: 93.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.7779, allocations: 11.97 kB / 0.7146 GB, free: 93.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008736/0.7867, allocations: 1.592 MB / 0.7161 GB, free: 92.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.7894, allocations: 1.638 MB / 0.7177 GB, free: 90.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004507/0.7898, allocations: 0.6945 MB / 0.7184 GB, free: 89.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.7902, allocations: 207.9 kB / 0.7186 GB, free: 89.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/0.794, allocations: 2.557 MB / 0.7211 GB, free: 87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.7941, allocations: 3.984 kB / 0.7211 GB, free: 86.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.7943, allocations: 88 kB / 0.7212 GB, free: 86.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.7943, allocations: 55.94 kB / 0.7212 GB, free: 86.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.7978, allocations: 2.32 MB / 0.7235 GB, free: 84.52 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.0145/0.8123, allocations: 9.981 MB / 0.7333 GB, free: 74.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008312/0.8206, allocations: 4.021 MB / 0.7372 GB, free: 69.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.8226, allocations: 1.527 MB / 0.7387 GB, free: 68.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.8229, allocations: 42.02 kB / 0.7387 GB, free: 68.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.8229, allocations: 68.56 kB / 0.7388 GB, free: 68.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.268e-06/0.8229, allocations: 3.938 kB / 0.7388 GB, free: 68.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.03402/0.857, allocations: 12.28 MB / 0.7508 GB, free: 55.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.8571, allocations: 235.6 kB / 0.751 GB, free: 55.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.8594, allocations: 1.83 MB / 0.7528 GB, free: 53.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004936/0.8599, allocations: 65.7 kB / 0.7528 GB, free: 53.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.8605, allocations: 1.196 MB / 0.754 GB, free: 52.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006617/0.8612, allocations: 0.8354 MB / 0.7548 GB, free: 51.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.8613, allocations: 48 kB / 0.7549 GB, free: 51.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.8614, allocations: 398.6 kB / 0.7553 GB, free: 51.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.8633, allocations: 1.219 MB / 0.7564 GB, free: 50.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.8653, allocations: 1.528 MB / 0.7579 GB, free: 48.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.8672, allocations: 1.461 MB / 0.7594 GB, free: 46.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.8672, allocations: 4 kB / 0.7594 GB, free: 46.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03407/0.9013, allocations: 12.44 MB / 0.7715 GB, free: 34.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003904/0.9017, allocations: 2.869 MB / 0.7743 GB, free: 31.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.9017, allocations: 8 kB / 0.7743 GB, free: 31.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01451/0.9163, allocations: 5.094 MB / 0.7793 GB, free: 26.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.9182, allocations: 383.4 kB / 0.7797 GB, free: 25.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03507/0.9532, allocations: 17.49 MB / 0.7968 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.9571, allocations: 0.5134 MB / 0.7973 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/0.9574, allocations: 83.98 kB / 0.7973 GB, free: 7.555 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.9574, allocations: 4 kB / 0.7973 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03535/0.9928, allocations: 12.16 MB / 0.8092 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/0.9929, allocations: 8 kB / 0.8092 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0161/1.009, allocations: 5.094 MB / 0.8142 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.011, allocations: 367.5 kB / 0.8145 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03806/1.049, allocations: 17.47 MB / 0.8316 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/1.053, allocations: 0.494 MB / 0.8321 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/1.053, allocations: 83.98 kB / 0.8322 GB, free: 3.645 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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 (208): * Single equations (assignments): 203 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006444/1.054, allocations: 293.1 kB / 0.8324 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005637/1.054, allocations: 296.3 kB / 0.8327 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03751/1.092, allocations: 12.63 MB / 0.8451 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/1.092, allocations: 24 kB / 0.8451 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/1.092, allocations: 23.95 kB / 0.8451 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/1.092, allocations: 11.95 kB / 0.8451 GB, free: 6.316 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.0422/1.134, allocations: 16.34 MB / 0.8611 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.134, allocations: 7.953 kB / 0.8611 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.136, allocations: 267.6 kB / 0.8613 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01495/1.151, allocations: 4.83 MB / 0.8661 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004606/1.151, allocations: 51.98 kB / 0.8661 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03363/1.185, allocations: 15.36 MB / 0.8811 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.185, allocations: 4 kB / 0.8811 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04047/1.225, allocations: 14.55 MB / 0.8953 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009635/1.226, allocations: 412.9 kB / 0.8957 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004369/1.227, allocations: 44 kB / 0.8958 GB, free: 2.078 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/1.23, allocations: 395.7 kB / 0.8961 GB, free: 1.691 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001814/1.232, allocations: 0.5524 MB / 0.8967 GB, free: 1.137 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/1.232, allocations: 63.98 kB / 0.8967 GB, free: 1.074 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.2489/1.481, allocations: 1.393 MB / 0.8981 GB, free: 171.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.21e-07/1.481, allocations: 0.5 kB / 0.8981 GB, free: 171.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005119/1.486, allocations: 1.756 MB / 0.8998 GB, free: 171.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 160 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003842/1.486, allocations: 191.3 kB / 0.9 GB, free: 171.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0247/1.511, allocations: 10.02 MB / 0.9098 GB, free: 170.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.511, allocations: 0 / 0.9098 GB, free: 170.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01073/1.522, allocations: 4.065 MB / 0.9137 GB, free: 170 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.523, allocations: 233 kB / 0.914 GB, free: 170 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/1.529, allocations: 4.176 MB / 0.918 GB, free: 168.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009555/1.53, allocations: 1.901 MB / 0.9199 GB, free: 168.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001659/1.532, allocations: 448 kB / 0.9203 GB, free: 168.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/1.532, allocations: 116.5 kB / 0.9204 GB, free: 168.1 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/1.532, allocations: 0 / 0.9204 GB, free: 168.1 MB / 0.573 GB Notification: Performance of Templates: time 0.08516/1.617, allocations: 76.53 MB / 0.9952 GB, free: 114.3 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)