Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 174.6 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.242/1.242, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008757/0.0008757, allocations: 93.2 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4151/0.4151, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.149e-05, allocations: 0 / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2618, allocations: 69.35 MB / 0.548 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3708, allocations: 102.1 MB / 0.6477 GB, free: 14.28 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.3711, allocations: 75.95 kB / 0.6478 GB, free: 14.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4664/0.8375, allocations: 99.59 MB / 0.745 GB, free: 62.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.8375, allocations: 3.938 kB / 0.745 GB, free: 62.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002059/0.8377, allocations: 91.88 kB / 0.7451 GB, free: 62.55 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01548/0.8532, allocations: 5.762 MB / 0.7507 GB, free: 56.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.8533, allocations: 11.97 kB / 0.7507 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.8698, allocations: 2.787 MB / 0.7535 GB, free: 53.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/0.8745, allocations: 2.271 MB / 0.7557 GB, free: 51.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006705/0.8752, allocations: 0.9595 MB / 0.7566 GB, free: 50.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00073/0.876, allocations: 351.9 kB / 0.757 GB, free: 50.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006796/0.8828, allocations: 4.092 MB / 0.761 GB, free: 46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.234e-05/0.8829, allocations: 0 / 0.761 GB, free: 46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003761/0.8832, allocations: 144 kB / 0.7611 GB, free: 45.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.8833, allocations: 84 kB / 0.7612 GB, free: 45.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005734/0.889, allocations: 3.617 MB / 0.7647 GB, free: 42.15 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.02859/0.9176, allocations: 18.71 MB / 0.783 GB, free: 22.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009619/0.9273, allocations: 4.768 MB / 0.7876 GB, free: 17.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003458/0.9308, allocations: 2.233 MB / 0.7898 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/0.9313, allocations: 70.91 kB / 0.7899 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.9313, allocations: 73.55 kB / 0.79 GB, free: 15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 5.35e-06/0.9314, allocations: 0 / 0.79 GB, free: 15 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.04943/0.9808, allocations: 17.47 MB / 0.807 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.165e-05/0.9809, allocations: 171.5 kB / 0.8072 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/0.985, allocations: 2.67 MB / 0.8098 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008006/0.9858, allocations: 89.7 kB / 0.8099 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.9874, allocations: 2.002 MB / 0.8118 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001704/0.9891, allocations: 1.297 MB / 0.8131 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.9894, allocations: 72 kB / 0.8132 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.9897, allocations: 445.6 kB / 0.8136 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/0.9929, allocations: 1.827 MB / 0.8154 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/0.9967, allocations: 2.406 MB / 0.8177 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/1, allocations: 2.086 MB / 0.8198 GB, free: 96 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1, allocations: 8 kB / 0.8198 GB, free: 88 kB / 0.4948 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05299/1.053, allocations: 17.66 MB / 0.837 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002229/1.056, allocations: 6.699 MB / 0.8436 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.056, allocations: 12 kB / 0.8436 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02346/1.079, allocations: 6.89 MB / 0.8503 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/1.082, allocations: 0.5578 MB / 0.8508 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05817/1.14, allocations: 25.42 MB / 0.8757 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/1.146, allocations: 0.6918 MB / 0.8763 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009119/1.147, allocations: 128 kB / 0.8765 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.147, allocations: 4 kB / 0.8765 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05054/1.198, allocations: 17.25 MB / 0.8933 GB, free: 3.961 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.157e-05/1.198, allocations: 16 kB / 0.8933 GB, free: 3.945 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3733/1.571, allocations: 6.891 MB / 0.9001 GB, free: 127.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/1.574, allocations: 0.5534 MB / 0.9006 GB, free: 127.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05559/1.63, allocations: 25.4 MB / 0.9254 GB, free: 126.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005569/1.635, allocations: 0.6685 MB / 0.9261 GB, free: 126 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005376/1.636, allocations: 127.6 kB / 0.9262 GB, free: 126 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.000834/1.637, allocations: 332.2 kB / 0.9265 GB, free: 125.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008733/1.638, allocations: 459.7 kB / 0.9269 GB, free: 125.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0479/1.686, allocations: 18.01 MB / 0.9445 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/1.686, allocations: 34.38 kB / 0.9446 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.054e-05/1.686, allocations: 30.09 kB / 0.9446 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.788e-05/1.686, allocations: 18.75 kB / 0.9446 GB, free: 122.4 MB / 0.573 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.05456/1.74, allocations: 23.29 MB / 0.9673 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.74, allocations: 0 / 0.9673 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.743, allocations: 406.6 kB / 0.9677 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02048/1.763, allocations: 6.96 MB / 0.9745 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006406/1.764, allocations: 75.94 kB / 0.9746 GB, free: 111.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04671/1.811, allocations: 22.53 MB / 0.9966 GB, free: 92.15 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.811, allocations: 4 kB / 0.9966 GB, free: 92.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05426/1.865, allocations: 20.84 MB / 1.017 GB, free: 75.07 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/1.866, allocations: 0.5701 MB / 1.018 GB, free: 74.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009533/1.867, allocations: 64 kB / 1.018 GB, free: 74.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004526/1.872, allocations: 491 kB / 1.018 GB, free: 74.13 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002898/1.875, allocations: 0.7646 MB / 1.019 GB, free: 73.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000408/1.875, allocations: 91.42 kB / 1.019 GB, free: 73.63 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002586/1.878, allocations: 2.026 MB / 1.021 GB, free: 71.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.878, allocations: 4 kB / 1.021 GB, free: 71.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006872/1.885, allocations: 2.879 MB / 1.024 GB, free: 69 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004989/1.885, allocations: 230 kB / 1.024 GB, free: 68.78 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03518/1.92, allocations: 14.43 MB / 1.038 GB, free: 55.71 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.92, allocations: 0 / 1.038 GB, free: 55.71 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0163/1.937, allocations: 6.002 MB / 1.044 GB, free: 50.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.94, allocations: 304.3 kB / 1.044 GB, free: 50.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.95, allocations: 6.111 MB / 1.05 GB, free: 44.54 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/1.951, allocations: 2.596 MB / 1.053 GB, free: 42.61 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002789/1.954, allocations: 0.6073 MB / 1.053 GB, free: 42.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006762/1.955, allocations: 183 kB / 1.053 GB, free: 42.04 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/1.955, allocations: 0 / 1.053 GB, free: 42.04 MB / 0.573 GB Notification: Performance of Templates: time 0.4484/2.403, allocations: 112.8 MB / 1.164 GB, free: 134.9 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)