Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 87.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1843/0.1843, allocations: 37.99 MB / 348 MB, free: 7.766 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.884e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 56.33 MB / 467 MB, free: 6.465 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/0.549, allocations: 116.2 MB / 0.5695 GB, free: 10.6 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/0.5494, allocations: 87.95 kB / 0.5696 GB, free: 10.52 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1123/0.6618, allocations: 37.71 MB / 0.6064 GB, free: 4.34 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6618, allocations: 4 kB / 0.6064 GB, free: 4.336 MB / 443.1 MB Notification: Performance of Transformations before backend: time 7.611e-05/0.6619, allocations: 32 kB / 0.6065 GB, free: 4.305 MB / 443.1 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.003055/0.665, allocations: 1.288 MB / 0.6077 GB, free: 2.965 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.665, allocations: 12.03 kB / 0.6077 GB, free: 2.953 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.6668, allocations: 254.1 kB / 0.608 GB, free: 2.703 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004566/0.6714, allocations: 1.541 MB / 0.6095 GB, free: 1.117 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.6715, allocations: 40 kB / 0.6095 GB, free: 1.078 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/0.6718, allocations: 71.91 kB / 0.6096 GB, free: 1.008 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00197/0.6738, allocations: 1 MB / 0.6106 GB, free: 4 kB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.676, allocations: 1.307 MB / 0.6119 GB, free: 14.63 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.6761, allocations: 4 kB / 0.6119 GB, free: 14.62 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.163e-05/0.6762, allocations: 4 kB / 0.6119 GB, free: 14.62 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.6763, allocations: 86.17 kB / 0.6119 GB, free: 14.54 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008949/0.6853, allocations: 5.302 MB / 0.6171 GB, free: 8.93 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.6864, allocations: 0.66 MB / 0.6178 GB, free: 8.23 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.6869, allocations: 379.3 kB / 0.6181 GB, free: 7.855 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.059e-05/0.687, allocations: 20.55 kB / 0.6181 GB, free: 7.836 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.687, allocations: 43.06 kB / 0.6182 GB, free: 7.785 MB / 459.1 MB Notification: Performance of pre-optimization done (n=69): time 2.845e-06/0.687, allocations: 0 / 0.6182 GB, free: 7.785 MB / 459.1 MB Notification: Performance of matching and sorting (n=78): time 0.005478/0.6925, allocations: 2.617 MB / 0.6207 GB, free: 5.098 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.6926, allocations: 85.89 kB / 0.6208 GB, free: 4.996 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008189/0.6934, allocations: 0.5388 MB / 0.6214 GB, free: 4.453 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/0.6935, allocations: 29.7 kB / 0.6214 GB, free: 4.418 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.694, allocations: 0.5956 MB / 0.622 GB, free: 3.812 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.6943, allocations: 268.1 kB / 0.6222 GB, free: 3.547 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.6944, allocations: 0 / 0.6222 GB, free: 3.547 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0002748/0.6946, allocations: 398.7 kB / 0.6226 GB, free: 3.148 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.6953, allocations: 382.5 kB / 0.623 GB, free: 2.773 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.6963, allocations: 0.6512 MB / 0.6236 GB, free: 1.992 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/0.6973, allocations: 0.4924 MB / 0.6241 GB, free: 1.5 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.6973, allocations: 8 kB / 0.6241 GB, free: 1.492 MB / 459.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003564/0.7009, allocations: 1.623 MB / 0.6257 GB, free: 15.85 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.7009, allocations: 8 kB / 0.6257 GB, free: 15.84 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002621/0.7035, allocations: 1.265 MB / 0.6269 GB, free: 14.56 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/0.7056, allocations: 0.5963 MB / 0.6275 GB, free: 13.95 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/0.7063, allocations: 175.7 kB / 0.6277 GB, free: 13.78 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.7178, allocations: 9.243 MB / 0.6367 GB, free: 4.043 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/0.7187, allocations: 31.92 kB / 0.6367 GB, free: 4.012 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.7188, allocations: 51.94 kB / 0.6368 GB, free: 3.961 MB / 475.1 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%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.7191, allocations: 130.5 kB / 0.6369 GB, free: 3.828 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00199/0.7211, allocations: 1.1 MB / 0.638 GB, free: 2.707 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.7212, allocations: 87.16 kB / 0.6381 GB, free: 2.621 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.7234, allocations: 1.193 MB / 0.6392 GB, free: 1.398 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.7234, allocations: 8 kB / 0.6392 GB, free: 1.391 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.7234, allocations: 4 kB / 0.6392 GB, free: 1.387 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.7234, allocations: 3.984 kB / 0.6392 GB, free: 1.383 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2818/1.005, allocations: 2.256 MB / 0.6414 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.005, allocations: 3.531 kB / 0.6414 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/1.006, allocations: 115 kB / 0.6416 GB, free: 128.7 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/1.007, allocations: 384.6 kB / 0.6419 GB, free: 128.6 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/1.007, allocations: 17.52 kB / 0.6419 GB, free: 128.6 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007335/1.014, allocations: 8.238 MB / 0.65 GB, free: 122.5 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.014, allocations: 6.922 kB / 0.65 GB, free: 122.5 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/1.018, allocations: 1.759 MB / 0.6517 GB, free: 122.1 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/1.018, allocations: 231.2 kB / 0.6519 GB, free: 122 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.018, allocations: 10.94 kB / 0.6519 GB, free: 122 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/1.019, allocations: 15.92 kB / 0.652 GB, free: 122 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.019, allocations: 65.06 kB / 0.652 GB, free: 122 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/1.019, allocations: 22.7 kB / 0.652 GB, free: 122 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0007977/1.02, allocations: 425.9 kB / 0.6524 GB, free: 121.9 MB / 475.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.02, allocations: 2.625 kB / 0.6524 GB, free: 121.9 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001893/1.022, allocations: 330.8 kB / 0.6528 GB, free: 121.9 MB / 475.1 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 (59): * Single equations (assignments): 53 * 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.003421/1.025, allocations: 2.939 MB / 0.6556 GB, free: 120.5 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.002825/1.028, allocations: 1.498 MB / 0.6571 GB, free: 120 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.028, allocations: 2.531 kB / 0.6571 GB, free: 120 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.03, allocations: 1.043 MB / 0.6581 GB, free: 119.5 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.031, allocations: 155.2 kB / 0.6583 GB, free: 119.5 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/1.036, allocations: 2.463 MB / 0.6607 GB, free: 118.8 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/1.037, allocations: 1.289 MB / 0.6619 GB, free: 118.1 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0008228/1.038, allocations: 231.6 kB / 0.6621 GB, free: 118.1 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/1.038, allocations: 440.2 kB / 0.6626 GB, free: 118.1 MB / 475.1 MB Notification: Performance of SimCode: time 1.032e-06/1.038, allocations: 0 / 0.6626 GB, free: 118.1 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0495/1.088, allocations: 22.32 MB / 0.6844 GB, free: 117 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.088, allocations: 159.1 kB / 0.6845 GB, free: 116.8 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.958, allocations: 4 kB / 0.6845 GB, free: 116.8 MB / 475.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurbineGeneratorLine.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat does not exist to compare? outputFormat=mat