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.001299/0.001299, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.733/1.733, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.0008637/0.0008637, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2022/0.2022, allocations: 37.97 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.477e-05, allocations: 4 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 56.33 MB / 474.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4162/0.5316, allocations: 116.9 MB / 0.5772 GB, free: 2.273 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.5319, allocations: 96.42 kB / 0.5773 GB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1057/0.6377, allocations: 38.08 MB / 0.6144 GB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6377, allocations: 0 / 0.6144 GB, free: 1.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001141/0.6378, allocations: 28 kB / 0.6145 GB, free: 1.453 MB / 410.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.003907/0.6417, allocations: 1.293 MB / 0.6157 GB, free: 188 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6418, allocations: 8.031 kB / 0.6157 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005297/0.6423, allocations: 173 kB / 0.6159 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.6442, allocations: 265.4 kB / 0.6162 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.6486, allocations: 1.544 MB / 0.6177 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.6487, allocations: 77.86 kB / 0.6177 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004237/0.6491, allocations: 119.6 kB / 0.6179 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.6522, allocations: 1.448 MB / 0.6193 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-05/0.6523, allocations: 3.984 kB / 0.6193 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.6524, allocations: 45.55 kB / 0.6193 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.6526, allocations: 89.25 kB / 0.6194 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.6548, allocations: 1.208 MB / 0.6206 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008587/0.6634, allocations: 5.656 MB / 0.6261 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009916/0.6644, allocations: 0.5783 MB / 0.6267 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/0.665, allocations: 387.3 kB / 0.627 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/0.6651, allocations: 20.48 kB / 0.6271 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.6651, allocations: 39.12 kB / 0.6271 GB, free: 5.922 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 2.465e-06/0.6651, allocations: 0 / 0.6271 GB, free: 5.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.006309/0.6714, allocations: 2.801 MB / 0.6298 GB, free: 3.055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.6715, allocations: 85.89 kB / 0.6299 GB, free: 2.949 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009456/0.6725, allocations: 0.6368 MB / 0.6305 GB, free: 2.301 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.6725, allocations: 33.7 kB / 0.6306 GB, free: 2.262 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.673, allocations: 0.5919 MB / 0.6311 GB, free: 1.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.6732, allocations: 268.1 kB / 0.6314 GB, free: 1.395 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.6733, allocations: 20 kB / 0.6314 GB, free: 1.375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.6735, allocations: 410.8 kB / 0.6318 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.6741, allocations: 373.8 kB / 0.6322 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.6749, allocations: 0.6459 MB / 0.6328 GB, free: 15.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007999/0.6757, allocations: 0.4939 MB / 0.6333 GB, free: 15.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.6758, allocations: 3.953 kB / 0.6333 GB, free: 15.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003369/0.6791, allocations: 1.669 MB / 0.6349 GB, free: 13.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.6792, allocations: 12 kB / 0.6349 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002672/0.6819, allocations: 1.277 MB / 0.6362 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.6838, allocations: 0.573 MB / 0.6367 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.6844, allocations: 171.7 kB / 0.6369 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.6959, allocations: 9.402 MB / 0.6461 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.697, allocations: 39.97 kB / 0.6461 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.6972, allocations: 47.98 kB / 0.6462 GB, free: 1.527 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (94): * Single equations (assignments): 90 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002933/0.6975, allocations: 160.7 kB / 0.6463 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.6977, allocations: 90.83 kB / 0.6464 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.7002, allocations: 1.234 MB / 0.6476 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.7002, allocations: 8 kB / 0.6476 GB, free: 4 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7002, allocations: 4 kB / 0.6476 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-05/0.7003, allocations: 4.047 kB / 0.6476 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/0.7047, allocations: 2.373 MB / 0.6499 GB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.7047, allocations: 4 kB / 0.6499 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.7052, allocations: 108.1 kB / 0.65 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.7063, allocations: 375.8 kB / 0.6504 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.7064, allocations: 23.97 kB / 0.6504 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00815/0.7146, allocations: 8.475 MB / 0.6587 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.7146, allocations: 7.938 kB / 0.6587 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.7175, allocations: 1.744 MB / 0.6604 GB, free: 2.012 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/0.718, allocations: 232 kB / 0.6606 GB, free: 1.766 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.7182, allocations: 23.98 kB / 0.6607 GB, free: 1.742 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.7188, allocations: 27.98 kB / 0.6607 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.7189, allocations: 64.39 kB / 0.6607 GB, free: 1.648 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/0.719, allocations: 23.98 kB / 0.6608 GB, free: 1.625 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007846/0.7198, allocations: 0.4914 MB / 0.6613 GB, free: 1.141 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7198, allocations: 7.938 kB / 0.6613 GB, free: 1.133 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001501/0.7213, allocations: 360 kB / 0.6616 GB, free: 0.7812 MB / 458.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 (56): * Single equations (assignments): 50 * 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.003483/0.7248, allocations: 2.926 MB / 0.6645 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002649/0.7275, allocations: 1.538 MB / 0.666 GB, free: 12.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7275, allocations: 0 / 0.666 GB, free: 12.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.7291, allocations: 1.083 MB / 0.667 GB, free: 11.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.7301, allocations: 171.2 kB / 0.6672 GB, free: 10.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.7353, allocations: 2.504 MB / 0.6696 GB, free: 8.285 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.7367, allocations: 1.282 MB / 0.6709 GB, free: 6.965 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007611/0.7375, allocations: 215.6 kB / 0.6711 GB, free: 6.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.7382, allocations: 439.3 kB / 0.6715 GB, free: 6.32 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/0.7382, allocations: 0 / 0.6715 GB, free: 6.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05316/0.7914, allocations: 24.41 MB / 0.6953 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.7916, allocations: 205.5 kB / 0.6955 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/3.519, allocations: 0 / 0.6955 GB, free: 13.69 MB / 0.4948 GB (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