Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TieLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TieLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009121/0.0009121, allocations: 172.1 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 222.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007521/0.0007523, allocations: 86.36 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1723/0.1723, allocations: 38.08 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003566, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2462, allocations: 56.32 MB / 479.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TieLine): time 0.01865/0.2649, allocations: 19.5 MB / 499.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02097/0.286, allocations: 10.83 MB / 0.498 GB, free: 3.738 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00411/0.2901, allocations: 146.3 kB / 0.4981 GB, free: 3.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.4739/0.7641, allocations: 217.5 MB / 0.7106 GB, free: 100.2 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005676/0.7698, allocations: 1.979 MB / 0.7125 GB, free: 99.19 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004182/0.774, allocations: 1.462 MB / 0.7139 GB, free: 98.32 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.03483/0.8088, allocations: 33.46 MB / 0.7466 GB, free: 66.47 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004402/0.8133, allocations: 3.079 MB / 0.7496 GB, free: 63.43 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05983/0.8731, allocations: 55.53 MB / 0.8038 GB, free: 9.406 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003228/0.8764, allocations: 2.531 MB / 0.8063 GB, free: 6.973 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006/0.877, allocations: 144 kB / 0.8064 GB, free: 6.832 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.8787, allocations: 0.7447 MB / 0.8072 GB, free: 6.086 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.8799, allocations: 1.652 MB / 0.8088 GB, free: 4.43 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.8817, allocations: 1.755 MB / 0.8105 GB, free: 2.66 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.8856, allocations: 4.796 MB / 0.8152 GB, free: 13.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8856, allocations: 0 / 0.8152 GB, free: 13.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.8856, allocations: 0 / 0.8152 GB, free: 13.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.8858, allocations: 4 kB / 0.8152 GB, free: 13.86 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: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.008683/0.8945, allocations: 4.043 MB / 0.8191 GB, free: 9.777 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.8945, allocations: 8.031 kB / 0.8191 GB, free: 9.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.8973, allocations: 0.6518 MB / 0.8198 GB, free: 9.113 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00681/0.9041, allocations: 3.489 MB / 0.8232 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.9043, allocations: 201 kB / 0.8234 GB, free: 5.363 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007564/0.9051, allocations: 331.6 kB / 0.8237 GB, free: 5.039 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006182/0.9113, allocations: 3.886 MB / 0.8275 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.315e-05/0.9114, allocations: 15.89 kB / 0.8275 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.9116, allocations: 104 kB / 0.8276 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006021/0.9123, allocations: 249 kB / 0.8278 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1581/1.07, allocations: 3.654 MB / 0.8314 GB, free: 173.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/1.091, allocations: 12.97 MB / 0.8441 GB, free: 167.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004269/1.095, allocations: 2.702 MB / 0.8467 GB, free: 166.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/1.098, allocations: 1.734 MB / 0.8484 GB, free: 165.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/1.098, allocations: 38.03 kB / 0.8484 GB, free: 165.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002336/1.101, allocations: 1.586 MB / 0.85 GB, free: 164.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 5.801e-06/1.101, allocations: 3.984 kB / 0.85 GB, free: 164.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=264): time 0.0487/1.149, allocations: 19.41 MB / 0.8689 GB, free: 149.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/1.149, allocations: 261.4 kB / 0.8692 GB, free: 148.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00411/1.153, allocations: 2.766 MB / 0.8719 GB, free: 146.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004894/1.154, allocations: 73.7 kB / 0.872 GB, free: 146.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009155/1.155, allocations: 1.518 MB / 0.8734 GB, free: 144.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009033/1.156, allocations: 0.9431 MB / 0.8744 GB, free: 143.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/1.156, allocations: 64 kB / 0.8744 GB, free: 143.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/1.156, allocations: 440.6 kB / 0.8748 GB, free: 143.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/1.159, allocations: 1.665 MB / 0.8765 GB, free: 141.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/1.162, allocations: 2.272 MB / 0.8787 GB, free: 139 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02186/1.184, allocations: 9.027 MB / 0.8875 GB, free: 129.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/1.184, allocations: 4 kB / 0.8875 GB, free: 129.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.01025/1.194, allocations: 6.572 MB / 0.8939 GB, free: 123 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/1.194, allocations: 0.4974 MB / 0.8944 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.194, allocations: 20 kB / 0.8944 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005313/1.2, allocations: 2.088 MB / 0.8965 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004496/1.204, allocations: 1.393 MB / 0.8978 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0337/1.238, allocations: 40.21 MB / 0.9371 GB, free: 76.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/1.241, allocations: 279.7 kB / 0.9374 GB, free: 75.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003732/1.241, allocations: 124 kB / 0.9375 GB, free: 75.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/1.241, allocations: 4 kB / 0.9375 GB, free: 75.75 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009123/1.251, allocations: 6.082 MB / 0.9434 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/1.251, allocations: 16 kB / 0.9434 GB, free: 69.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005313/1.256, allocations: 2.089 MB / 0.9455 GB, free: 67.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/1.258, allocations: 0.6163 MB / 0.9461 GB, free: 66.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0275/1.286, allocations: 30.89 MB / 0.9762 GB, free: 34.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/1.289, allocations: 243.6 kB / 0.9765 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005486/1.29, allocations: 132 kB / 0.9766 GB, free: 33.89 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: setpts1.w_set:VARIABLE(start = 1.0 unit = "1" fixed = true protected = true ) "setpt turbine speed pu" type: Real setpts2.w_set:VARIABLE(start = 1.0 unit = "1" fixed = true protected = true ) "setpt turbine speed pu" type: Real setpts3.w_set:VARIABLE(start = 1.0 unit = "1" fixed = true protected = true ) "setpt turbine speed pu" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 283 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,62.5%) 20,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {5 9,8 46} Notification: Performance of prepare postOptimizeDAE: time 0.001974/1.292, allocations: 1.144 MB / 0.9777 GB, free: 32.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005832/1.292, allocations: 320 kB / 0.978 GB, free: 32.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00854/1.301, allocations: 5.245 MB / 0.9831 GB, free: 27.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/1.301, allocations: 28 kB / 0.9832 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.301, allocations: 0 / 0.9832 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.242e-05/1.301, allocations: 15.94 kB / 0.9832 GB, free: 27.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/1.315, allocations: 9.122 MB / 0.9921 GB, free: 17.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.315, allocations: 0 / 0.9921 GB, free: 17.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.317, allocations: 391.6 kB / 0.9925 GB, free: 17.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003881/1.32, allocations: 1.694 MB / 0.9941 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003785/1.321, allocations: 123.9 kB / 0.9942 GB, free: 15.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/1.338, allocations: 14.15 MB / 1.008 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.338, allocations: 8 kB / 1.008 GB, free: 1.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1844/1.523, allocations: 7.02 MB / 1.015 GB, free: 151.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/1.524, allocations: 0.6964 MB / 1.016 GB, free: 151.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006711/1.525, allocations: 108 kB / 1.016 GB, free: 151.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/1.527, allocations: 223.2 kB / 1.016 GB, free: 151.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006124/1.528, allocations: 207 kB / 1.016 GB, free: 151.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/1.528, allocations: 87.44 kB / 1.016 GB, free: 151.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003577/1.532, allocations: 1.908 MB / 1.018 GB, free: 151.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.532, allocations: 0 / 1.018 GB, free: 151.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005986/1.538, allocations: 1.703 MB / 1.02 GB, free: 151.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 34 (system.theta,turboGen1.generator.i_s[1],turboGen1.generator.i_s[2],turboGen1.generator.i_s[3],turboGen1.generator.i_rd[1],turboGen1.generator.i_rd[2],turboGen1.generator.i_rq[1],turboGen1.generator.i_rq[2],turboGen1.exciter.voltageReg.x_scaled[1],turboGen1.governor.speedReg.x_scaled[1],turboGen1.rotor.phi,turboGen1.rotor.w,turboGen2.generator.i_s[1],turboGen2.generator.i_s[2],turboGen2.generator.i_s[3],turboGen2.generator.i_rd[1],turboGen2.generator.i_rd[2],turboGen2.generator.i_rq[1],turboGen2.generator.i_rq[2],turboGen2.exciter.voltageReg.x_scaled[1],turboGen2.governor.speedReg.x_scaled[1],turboGen2.rotor.phi,turboGen2.rotor.w,turboGen3.generator.i_s[1],turboGen3.generator.i_s[2],turboGen3.generator.i_s[3],turboGen3.generator.i_rd[1],turboGen3.generator.i_rd[2],turboGen3.generator.i_rq[1],turboGen3.generator.i_rq[2],turboGen3.exciter.voltageReg.x_scaled[1],turboGen3.governor.speedReg.x_scaled[1],turboGen3.rotor.phi,turboGen3.rotor.w) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,77.8%) 13} * Non-linear torn systems: 1 {14 67} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005989/1.538, allocations: 216.1 kB / 1.02 GB, free: 151.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01931/1.558, allocations: 11.41 MB / 1.031 GB, free: 146.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.558, allocations: 4.422 kB / 1.031 GB, free: 146.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005126/1.563, allocations: 2.904 MB / 1.034 GB, free: 145.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/1.566, allocations: 0.6191 MB / 1.035 GB, free: 145.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.582, allocations: 11.89 MB / 1.046 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/1.584, allocations: 2.675 MB / 1.049 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.585, allocations: 219.2 kB / 1.049 GB, free: 138.3 MB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/1.585, allocations: 0 / 1.049 GB, free: 138.3 MB / 490.7 MB Notification: Performance of Templates: time 0.3169/1.902, allocations: 196.1 MB / 1.24 GB, free: 137.9 MB / 0.4948 GB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TieLine.pipe 2>&1)