Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001625/0.001625, allocations: 180.3 kB / 8.353 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.547/1.547, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001684/0.001684, allocations: 125.5 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1593/0.1593, allocations: 37.94 MB / 330.9 MB, free: 2.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.55e-05, allocations: 4 kB / 390.5 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2842, allocations: 53.22 MB / 443.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.511/0.7953, allocations: 111.1 MB / 0.5417 GB, free: 38.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.7956, allocations: 93.17 kB / 0.5418 GB, free: 38.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09336/0.889, allocations: 37.73 MB / 0.5787 GB, free: 28.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.889, allocations: 0 / 0.5787 GB, free: 28.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.952e-05/0.8891, allocations: 31.28 kB / 0.5787 GB, free: 28.35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002263/0.8914, allocations: 1.282 MB / 0.5799 GB, free: 27.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.8914, allocations: 7.719 kB / 0.58 GB, free: 27.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.8928, allocations: 266 kB / 0.5802 GB, free: 27.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.8962, allocations: 1.539 MB / 0.5817 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.8962, allocations: 35.16 kB / 0.5817 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.8965, allocations: 77.95 kB / 0.5818 GB, free: 26.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/0.8978, allocations: 1.001 MB / 0.5828 GB, free: 26.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.8996, allocations: 1.294 MB / 0.5841 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.8997, allocations: 3.938 kB / 0.5841 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.8998, allocations: 7.906 kB / 0.5841 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.8999, allocations: 90.86 kB / 0.5842 GB, free: 26.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006245/0.9062, allocations: 5.305 MB / 0.5893 GB, free: 22.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.9069, allocations: 0.6586 MB / 0.59 GB, free: 22.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.9073, allocations: 377 kB / 0.5903 GB, free: 22.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/0.9074, allocations: 12.3 kB / 0.5904 GB, free: 22.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.9074, allocations: 42.38 kB / 0.5904 GB, free: 22.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 2.855e-06/0.9075, allocations: 0 / 0.5904 GB, free: 22.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.004162/0.9116, allocations: 2.618 MB / 0.5929 GB, free: 21.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.9117, allocations: 85.7 kB / 0.593 GB, free: 21.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/0.9122, allocations: 0.5385 MB / 0.5936 GB, free: 20.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.9123, allocations: 33.39 kB / 0.5936 GB, free: 20.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.9126, allocations: 0.6015 MB / 0.5942 GB, free: 20.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.9127, allocations: 274.8 kB / 0.5944 GB, free: 20.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.9128, allocations: 0 / 0.5944 GB, free: 20.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9129, allocations: 405.1 kB / 0.5948 GB, free: 20 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.9134, allocations: 378.6 kB / 0.5952 GB, free: 19.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/0.914, allocations: 0.6524 MB / 0.5958 GB, free: 19.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.9146, allocations: 0.4985 MB / 0.5963 GB, free: 19.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.9146, allocations: 3.25 kB / 0.5963 GB, free: 19.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002804/0.9174, allocations: 1.633 MB / 0.5979 GB, free: 18.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.9175, allocations: 12 kB / 0.5979 GB, free: 18.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002268/0.9197, allocations: 1.278 MB / 0.5992 GB, free: 17.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.9214, allocations: 0.5868 MB / 0.5997 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.922, allocations: 180.9 kB / 0.5999 GB, free: 17.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008619/0.9306, allocations: 9.321 MB / 0.609 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.9314, allocations: 24.02 kB / 0.609 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.9315, allocations: 47.98 kB / 0.6091 GB, free: 7.504 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.9317, allocations: 133 kB / 0.6092 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001675/0.9334, allocations: 1.108 MB / 0.6103 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.9335, allocations: 86.91 kB / 0.6104 GB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.9354, allocations: 1.197 MB / 0.6115 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.9354, allocations: 11.95 kB / 0.6116 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9354, allocations: 4 kB / 0.6116 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.9354, allocations: 7.984 kB / 0.6116 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/0.9389, allocations: 2.28 MB / 0.6138 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.9389, allocations: 4 kB / 0.6138 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.9393, allocations: 108 kB / 0.6139 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009486/0.9403, allocations: 387.8 kB / 0.6143 GB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.9404, allocations: 15.98 kB / 0.6143 GB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00744/0.9478, allocations: 8.233 MB / 0.6223 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.9479, allocations: 4.312 kB / 0.6223 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.9507, allocations: 1.772 MB / 0.6241 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.9511, allocations: 227.9 kB / 0.6243 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.9513, allocations: 15.94 kB / 0.6243 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.9517, allocations: 15.97 kB / 0.6243 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.9519, allocations: 68.64 kB / 0.6244 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.952, allocations: 20 kB / 0.6244 GB, free: 6.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007168/0.9527, allocations: 427.1 kB / 0.6248 GB, free: 6.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9527, allocations: 4 kB / 0.6248 GB, free: 6.543 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001725/0.9544, allocations: 332 kB / 0.6251 GB, free: 6.219 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 54 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003354/0.9578, allocations: 2.94 MB / 0.628 GB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00272/0.9605, allocations: 1.504 MB / 0.6295 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.9605, allocations: 384 / 0.6295 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.9621, allocations: 1.054 MB / 0.6305 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.963, allocations: 152 kB / 0.6306 GB, free: 396 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005295/0.9683, allocations: 2.475 MB / 0.633 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.9695, allocations: 1.29 MB / 0.6343 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007345/0.9702, allocations: 215.4 kB / 0.6345 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005776/0.9708, allocations: 439.3 kB / 0.6349 GB, free: 11.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9708, allocations: 4 kB / 0.6349 GB, free: 11.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05196/1.023, allocations: 22.39 MB / 0.6568 GB, free: 5.445 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.023, allocations: 142.3 kB / 0.6569 GB, free: 5.258 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/3.941, allocations: 0 / 0.6569 GB, free: 5.258 MB / 426.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)