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.001646/0.001646, allocations: 174.8 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.227/1.227, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008305/0.0008303, allocations: 88.42 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4232/0.4232, allocations: 78.02 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.861e-05/3.87e-05, allocations: 4 kB / 491.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3897, allocations: 69.35 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.5022, allocations: 101 MB / 0.6466 GB, free: 15.41 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.5025, allocations: 87.95 kB / 0.6467 GB, free: 15.32 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4766/0.9791, allocations: 98.57 MB / 0.7429 GB, free: 64.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.9792, allocations: 0 / 0.7429 GB, free: 64.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002145/0.9794, allocations: 84 kB / 0.743 GB, free: 64.52 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01576/0.9952, allocations: 5.727 MB / 0.7486 GB, free: 58.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.9952, allocations: 15.97 kB / 0.7486 GB, free: 58.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/1.011, allocations: 2.783 MB / 0.7513 GB, free: 55.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/1.016, allocations: 2.247 MB / 0.7535 GB, free: 53.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007616/1.017, allocations: 0.9634 MB / 0.7545 GB, free: 52.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/1.018, allocations: 336 kB / 0.7548 GB, free: 52.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007115/1.025, allocations: 4.081 MB / 0.7588 GB, free: 48.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/1.026, allocations: 0 / 0.7588 GB, free: 48.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003641/1.026, allocations: 147.9 kB / 0.7589 GB, free: 47.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/1.026, allocations: 80 kB / 0.759 GB, free: 47.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005876/1.032, allocations: 3.613 MB / 0.7625 GB, free: 44.2 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.03112/1.063, allocations: 18.62 MB / 0.7807 GB, free: 24.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009341/1.072, allocations: 4.743 MB / 0.7853 GB, free: 19.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003452/1.076, allocations: 2.217 MB / 0.7875 GB, free: 17.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004801/1.076, allocations: 70.89 kB / 0.7876 GB, free: 17.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.076, allocations: 73.53 kB / 0.7876 GB, free: 17.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=379): time 6.632e-06/1.076, allocations: 0 / 0.7876 GB, free: 17.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=379): time 0.04836/1.125, allocations: 17.45 MB / 0.8047 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/1.125, allocations: 167.5 kB / 0.8048 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004158/1.129, allocations: 2.638 MB / 0.8074 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008469/1.13, allocations: 89.7 kB / 0.8075 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/1.131, allocations: 1.99 MB / 0.8094 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.133, allocations: 1.286 MB / 0.8107 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/1.133, allocations: 68 kB / 0.8108 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000211/1.134, allocations: 441.5 kB / 0.8112 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/1.137, allocations: 1.816 MB / 0.8129 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003485/1.14, allocations: 2.394 MB / 0.8153 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/1.144, allocations: 2.067 MB / 0.8173 GB, free: 2.402 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.144, allocations: 8 kB / 0.8173 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05223/1.196, allocations: 17.65 MB / 0.8345 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002115/1.198, allocations: 6.686 MB / 0.8411 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/1.198, allocations: 12 kB / 0.8411 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02334/1.222, allocations: 6.915 MB / 0.8478 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/1.224, allocations: 0.5344 MB / 0.8484 GB, free: 2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0584/1.283, allocations: 25.58 MB / 0.8733 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.288, allocations: 0.6841 MB / 0.874 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004932/1.289, allocations: 136 kB / 0.8741 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.289, allocations: 4 kB / 0.8741 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0504/1.339, allocations: 17.22 MB / 0.891 GB, free: 6.148 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/1.339, allocations: 19.95 kB / 0.891 GB, free: 6.129 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2951/1.634, allocations: 6.921 MB / 0.8977 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/1.637, allocations: 0.5267 MB / 0.8983 GB, free: 128.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05795/1.695, allocations: 25.55 MB / 0.9232 GB, free: 126.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005694/1.701, allocations: 0.6597 MB / 0.9239 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007054/1.702, allocations: 132.1 kB / 0.924 GB, free: 126.8 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "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 () * 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.0009005/1.703, allocations: 333.7 kB / 0.9243 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.704, allocations: 459.6 kB / 0.9247 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04829/1.752, allocations: 17.97 MB / 0.9423 GB, free: 123.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.752, allocations: 42.05 kB / 0.9423 GB, free: 123.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.77e-05/1.752, allocations: 30.75 kB / 0.9424 GB, free: 123.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.22e-05/1.752, allocations: 22 kB / 0.9424 GB, free: 123.1 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.05609/1.808, allocations: 23.22 MB / 0.9651 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/1.808, allocations: 0 / 0.9651 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.811, allocations: 399.4 kB / 0.9654 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02057/1.831, allocations: 6.968 MB / 0.9722 GB, free: 113.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007979/1.832, allocations: 67.61 kB / 0.9723 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04545/1.878, allocations: 22.56 MB / 0.9943 GB, free: 94.03 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.878, allocations: 0 / 0.9943 GB, free: 94.03 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05156/1.929, allocations: 20.78 MB / 1.015 GB, free: 77.05 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.931, allocations: 0.551 MB / 1.015 GB, free: 76.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.932, allocations: 64 kB / 1.015 GB, free: 76.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004508/1.936, allocations: 492.4 kB / 1.016 GB, free: 76.12 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002767/1.939, allocations: 0.7692 MB / 1.016 GB, free: 75.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004008/1.939, allocations: 91.42 kB / 1.017 GB, free: 75.62 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002774/1.942, allocations: 2.005 MB / 1.019 GB, free: 73.77 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.4e-07/1.942, allocations: 3.938 kB / 1.019 GB, free: 73.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009162/1.951, allocations: 2.868 MB / 1.021 GB, free: 71.02 MB / 0.573 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 () * 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.000715/1.952, allocations: 215.5 kB / 1.022 GB, free: 70.81 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03622/1.988, allocations: 14.41 MB / 1.036 GB, free: 57.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.988, allocations: 4.875 kB / 1.036 GB, free: 57.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01628/2.005, allocations: 5.976 MB / 1.041 GB, free: 52.49 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/2.007, allocations: 316.6 kB / 1.042 GB, free: 52.19 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/2.018, allocations: 5.941 MB / 1.048 GB, free: 46.74 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/2.019, allocations: 2.596 MB / 1.05 GB, free: 44.81 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002771/2.022, allocations: 0.6077 MB / 1.051 GB, free: 44.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006687/2.023, allocations: 174.9 kB / 1.051 GB, free: 44.25 MB / 0.573 GB Notification: Performance of SimCode: time 1.112e-06/2.023, allocations: 0 / 1.051 GB, free: 44.25 MB / 0.573 GB Notification: Performance of Templates: time 0.4101/2.433, allocations: 112.5 MB / 1.161 GB, free: 155.7 MB / 0.5886 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)