Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00431/0.00431, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.158/1.158, allocations: 223.2 MB / 239 MB, free: 1.773 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.0009233/0.0009233, allocations: 94.84 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3943/0.3943, allocations: 78.52 MB / 419.8 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 12 kB / 499.7 MB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2906, allocations: 69.36 MB / 0.5557 GB, free: 38.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.4005, allocations: 101.1 MB / 0.6544 GB, free: 5.309 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4008, allocations: 83.95 kB / 0.6545 GB, free: 5.227 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2223/0.6231, allocations: 98.87 MB / 0.751 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6232, allocations: 0 / 0.751 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000202/0.6234, allocations: 87.94 kB / 0.7511 GB, free: 1.645 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01636/0.6398, allocations: 6.531 MB / 0.7575 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.6398, allocations: 12.03 kB / 0.7575 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.656, allocations: 2.807 MB / 0.7603 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005471/0.6615, allocations: 2.29 MB / 0.7625 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007782/0.6623, allocations: 0.9634 MB / 0.7634 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000562/0.6629, allocations: 347.9 kB / 0.7638 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2566/0.9195, allocations: 4.93 MB / 0.7686 GB, free: 90.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/0.9197, allocations: 1.406 kB / 0.7686 GB, free: 90.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.9201, allocations: 141.8 kB / 0.7687 GB, free: 90.75 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-05/0.9201, allocations: 84.02 kB / 0.7688 GB, free: 90.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008877/0.929, allocations: 4.508 MB / 0.7732 GB, free: 90.72 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02636/0.9554, allocations: 18.62 MB / 0.7914 GB, free: 84.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.9662, allocations: 5.651 MB / 0.7969 GB, free: 83.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/0.9665, allocations: 67.69 kB / 0.797 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.9666, allocations: 82 kB / 0.797 GB, free: 83.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 6.582e-06/0.9666, allocations: 0 / 0.797 GB, free: 83.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.2704/1.237, allocations: 76.59 MB / 0.8718 GB, free: 79.83 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/1.237, allocations: 169.1 kB / 0.872 GB, free: 79.67 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/1.241, allocations: 2.706 MB / 0.8746 GB, free: 79.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008263/1.242, allocations: 88.36 kB / 0.8747 GB, free: 79.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/1.243, allocations: 1.987 MB / 0.8767 GB, free: 78.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.244, allocations: 1.288 MB / 0.8779 GB, free: 78.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/1.244, allocations: 70.59 kB / 0.878 GB, free: 78.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.244, allocations: 439.2 kB / 0.8784 GB, free: 77.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004348/1.249, allocations: 2.65 MB / 0.881 GB, free: 77.17 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004534/1.253, allocations: 3.228 MB / 0.8841 GB, free: 74.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004572/1.258, allocations: 2.897 MB / 0.887 GB, free: 71.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.258, allocations: 4 kB / 0.887 GB, free: 71.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05061/1.308, allocations: 20.11 MB / 0.9066 GB, free: 52.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001083/1.309, allocations: 6.679 MB / 0.9131 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.31, allocations: 16 kB / 0.9132 GB, free: 45.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/1.333, allocations: 8.495 MB / 0.9215 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/1.336, allocations: 0.5406 MB / 0.922 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07209/1.408, allocations: 36.88 MB / 0.958 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005377/1.414, allocations: 0.6879 MB / 0.9587 GB, free: 15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/1.414, allocations: 136 kB / 0.9588 GB, free: 14.87 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.414, allocations: 4 kB / 0.9588 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05248/1.467, allocations: 19.66 MB / 0.978 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.597e-05/1.467, allocations: 16 kB / 0.978 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0252/1.492, allocations: 8.502 MB / 0.9863 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/1.495, allocations: 0.5266 MB / 0.9868 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3103/1.805, allocations: 36.85 MB / 1.023 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.81, allocations: 0.6528 MB / 1.023 GB, free: 106 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004046/1.811, allocations: 135.2 kB / 1.024 GB, free: 106 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 317 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.00189/1.813, allocations: 0.7281 MB / 1.024 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008245/1.813, allocations: 457.8 kB / 1.025 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05384/1.867, allocations: 20.42 MB / 1.045 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/1.867, allocations: 37.53 kB / 1.045 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.09e-05/1.867, allocations: 29.81 kB / 1.045 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/1.867, allocations: 22.19 kB / 1.045 GB, free: 105.2 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05835/1.926, allocations: 25.67 MB / 1.07 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/1.926, allocations: 2.625 kB / 1.07 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.928, allocations: 400.6 kB / 1.07 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02339/1.952, allocations: 8.551 MB / 1.079 GB, free: 99.33 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001157/1.953, allocations: 68.89 kB / 1.079 GB, free: 99.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06442/2.017, allocations: 32.26 MB / 1.11 GB, free: 82.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/2.017, allocations: 0 / 1.11 GB, free: 82.86 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05426/2.072, allocations: 24.07 MB / 1.134 GB, free: 63.49 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/2.073, allocations: 0.5614 MB / 1.134 GB, free: 62.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000524/2.073, allocations: 64 kB / 1.134 GB, free: 62.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/2.077, allocations: 488.9 kB / 1.135 GB, free: 62.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002738/2.08, allocations: 0.7688 MB / 1.135 GB, free: 62.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/2.08, allocations: 91.8 kB / 1.136 GB, free: 62.05 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002397/2.082, allocations: 2.072 MB / 1.138 GB, free: 60.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.81e-07/2.082, allocations: 0 / 1.138 GB, free: 60.32 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00576/2.088, allocations: 2.862 MB / 1.14 GB, free: 57.58 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004478/2.089, allocations: 208.4 kB / 1.141 GB, free: 57.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03729/2.126, allocations: 16.9 MB / 1.157 GB, free: 42.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/2.126, allocations: 3.828 kB / 1.157 GB, free: 42.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01625/2.142, allocations: 6.911 MB / 1.164 GB, free: 37.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/2.145, allocations: 308.5 kB / 1.164 GB, free: 36.74 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/2.156, allocations: 9.628 MB / 1.174 GB, free: 27.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/2.158, allocations: 2.583 MB / 1.176 GB, free: 25.81 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001732/2.159, allocations: 357.3 kB / 1.176 GB, free: 25.57 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007115/2.16, allocations: 198 kB / 1.177 GB, free: 25.39 MB / 0.5886 GB Notification: Performance of SimCode: time 1.493e-06/2.16, allocations: 0 / 1.177 GB, free: 25.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.3473/2.507, allocations: 105.7 MB / 1.28 GB, free: 114.8 MB / 0.6042 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)