Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.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.337/1.337, 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.0008724/0.0008724, allocations: 88.94 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4366/0.4366, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.475e-05, allocations: 4 kB / 492.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3303, allocations: 69.51 MB / 0.5491 GB, free: 19.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4485, allocations: 99.59 MB / 0.6464 GB, free: 44 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4488, allocations: 75.95 kB / 0.6464 GB, free: 15.97 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0847/0.5335, allocations: 31.49 MB / 0.6772 GB, free: 272 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5335, allocations: 0 / 0.6772 GB, free: 272 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.489e-05/0.5336, allocations: 23.94 kB / 0.6772 GB, free: 248 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.3051/0.8387, allocations: 1.73 MB / 0.6789 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.8388, allocations: 16 kB / 0.6789 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.8427, allocations: 0.5623 MB / 0.6795 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.8446, allocations: 0.8134 MB / 0.6803 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.8449, allocations: 234.8 kB / 0.6805 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.8451, allocations: 77.12 kB / 0.6806 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.8471, allocations: 0.9533 MB / 0.6815 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.815e-05/0.8472, allocations: 1.641 kB / 0.6815 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.8473, allocations: 36.17 kB / 0.6815 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.8473, allocations: 20.5 kB / 0.6816 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.849, allocations: 0.8497 MB / 0.6824 GB, free: 102.8 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.008042/0.857, allocations: 3.964 MB / 0.6863 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00755/0.8646, allocations: 2.629 MB / 0.6888 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009783/0.8656, allocations: 0.5545 MB / 0.6894 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.8657, allocations: 22.48 kB / 0.6894 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.8658, allocations: 44.03 kB / 0.6894 GB, free: 101.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.817e-06/0.8658, allocations: 7.406 kB / 0.6894 GB, free: 101.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01143/0.8772, allocations: 3.928 MB / 0.6933 GB, free: 100.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.8773, allocations: 136.8 kB / 0.6934 GB, free: 100.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.8788, allocations: 0.9333 MB / 0.6943 GB, free: 100.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002645/0.8791, allocations: 41.58 kB / 0.6943 GB, free: 100.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.8794, allocations: 0.5125 MB / 0.6948 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.8797, allocations: 347.9 kB / 0.6952 GB, free: 99.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.8798, allocations: 19.72 kB / 0.6952 GB, free: 99.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.8799, allocations: 340 kB / 0.6955 GB, free: 99.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007462/0.8806, allocations: 459.7 kB / 0.696 GB, free: 99.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/0.8814, allocations: 0.5829 MB / 0.6965 GB, free: 98.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.8822, allocations: 0.56 MB / 0.6971 GB, free: 98.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8822, allocations: 0 / 0.6971 GB, free: 98.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01145/0.8937, allocations: 4.172 MB / 0.7012 GB, free: 97.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.894, allocations: 1.203 MB / 0.7023 GB, free: 96.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.894, allocations: 3.469 kB / 0.7023 GB, free: 96.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005511/0.8996, allocations: 1.554 MB / 0.7038 GB, free: 96.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008836/0.9005, allocations: 155.7 kB / 0.704 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.9139, allocations: 7.936 MB / 0.7117 GB, free: 90.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.9157, allocations: 195.8 kB / 0.7119 GB, free: 89.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.9159, allocations: 40.09 kB / 0.712 GB, free: 89.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.9159, allocations: 4 kB / 0.712 GB, free: 89.92 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01143/0.9274, allocations: 4.037 MB / 0.7159 GB, free: 86.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.9274, allocations: 6.812 kB / 0.7159 GB, free: 86.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005098/0.9325, allocations: 1.544 MB / 0.7174 GB, free: 85.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.9334, allocations: 151.2 kB / 0.7176 GB, free: 85.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.9465, allocations: 7.938 MB / 0.7253 GB, free: 77.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.9482, allocations: 180.6 kB / 0.7255 GB, free: 77.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.9484, allocations: 35.84 kB / 0.7255 GB, free: 77.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.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 (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003626/0.9488, allocations: 198.6 kB / 0.7257 GB, free: 77.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/0.9492, allocations: 130.4 kB / 0.7258 GB, free: 77.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.9601, allocations: 4.05 MB / 0.7298 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.9602, allocations: 8 kB / 0.7298 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.9602, allocations: 8 kB / 0.7298 GB, free: 74.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.9602, allocations: 3.797 kB / 0.7298 GB, free: 74.26 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 postOpt removeSimpleEquations (simulation): time 0.01329/0.9735, allocations: 5.724 MB / 0.7354 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.9736, allocations: 0 / 0.7354 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/0.9744, allocations: 123.8 kB / 0.7355 GB, free: 68.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004062/0.9785, allocations: 1.41 MB / 0.7369 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.9787, allocations: 27.98 kB / 0.7369 GB, free: 67.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/0.9893, allocations: 5.721 MB / 0.7425 GB, free: 61.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.9894, allocations: 3.812 kB / 0.7425 GB, free: 61.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.002, allocations: 4.806 MB / 0.7472 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005533/1.002, allocations: 231.2 kB / 0.7474 GB, free: 56.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004322/1.003, allocations: 24 kB / 0.7475 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/1.004, allocations: 135.9 kB / 0.7476 GB, free: 56.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000562/1.005, allocations: 176.7 kB / 0.7478 GB, free: 56.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.005, allocations: 32 kB / 0.7478 GB, free: 56.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009957/1.006, allocations: 0.7178 MB / 0.7485 GB, free: 55.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.006, allocations: 3.938 kB / 0.7485 GB, free: 55.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002417/1.008, allocations: 0.6918 MB / 0.7492 GB, free: 54.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (69): * Single equations (assignments): 67 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003819/1.009, allocations: 158.5 kB / 0.7493 GB, free: 54.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008748/1.018, allocations: 3.909 MB / 0.7531 GB, free: 50.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.018, allocations: 0.75 kB / 0.7531 GB, free: 50.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003615/1.021, allocations: 1.468 MB / 0.7546 GB, free: 49.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.022, allocations: 108.6 kB / 0.7547 GB, free: 49.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/1.026, allocations: 1.959 MB / 0.7566 GB, free: 47.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/1.027, allocations: 1.17 MB / 0.7577 GB, free: 45.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009769/1.028, allocations: 200.8 kB / 0.7579 GB, free: 45.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/1.028, allocations: 59.42 kB / 0.758 GB, free: 45.62 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/1.028, allocations: 0 / 0.758 GB, free: 45.62 MB / 490.7 MB Notification: Performance of Templates: time 0.04011/1.068, allocations: 28.99 MB / 0.7863 GB, free: 16.86 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)