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.0009995/0.0009995, allocations: 180.9 kB / 16.39 MB, free: 5.766 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.166/1.166, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008074/0.0008075, allocations: 91.33 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1668/0.1668, allocations: 38.06 MB / 357.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 12 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2218, allocations: 56.31 MB / 480.4 MB, free: 9.566 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.3586, allocations: 117 MB / 0.5834 GB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.3589, allocations: 95.95 kB / 0.5835 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09828/0.4572, allocations: 38.09 MB / 0.6207 GB, free: 10.73 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4572, allocations: 0 / 0.6207 GB, free: 10.73 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.335e-05/0.4573, allocations: 31.94 kB / 0.6207 GB, free: 10.7 MB / 458.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.002674/0.46, allocations: 1.436 MB / 0.6221 GB, free: 9.207 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4601, allocations: 12.03 kB / 0.6221 GB, free: 9.195 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/0.4603, allocations: 177.4 kB / 0.6223 GB, free: 9.012 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.4617, allocations: 258 kB / 0.6225 GB, free: 8.758 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/0.4654, allocations: 1.584 MB / 0.6241 GB, free: 7.129 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.4655, allocations: 82.09 kB / 0.6242 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.4657, allocations: 111.9 kB / 0.6243 GB, free: 6.938 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.4678, allocations: 1.468 MB / 0.6257 GB, free: 5.398 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.4679, allocations: 0 / 0.6257 GB, free: 5.398 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.936e-05/0.468, allocations: 47.94 kB / 0.6257 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.4681, allocations: 94.16 kB / 0.6258 GB, free: 5.258 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.4699, allocations: 1.227 MB / 0.627 GB, free: 4.023 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007181/0.4771, allocations: 5.66 MB / 0.6326 GB, free: 14.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.478, allocations: 0.59 MB / 0.6331 GB, free: 13.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.4781, allocations: 8.625 kB / 0.6331 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.4781, allocations: 39.12 kB / 0.6332 GB, free: 13.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=67): time 2.204e-06/0.4781, allocations: 8 kB / 0.6332 GB, free: 13.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=74): time 0.006677/0.4848, allocations: 3.54 MB / 0.6366 GB, free: 9.668 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.4849, allocations: 89.7 kB / 0.6367 GB, free: 9.562 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.4856, allocations: 0.6329 MB / 0.6373 GB, free: 8.918 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.4856, allocations: 41.7 kB / 0.6374 GB, free: 8.871 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.486, allocations: 0.5918 MB / 0.638 GB, free: 8.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.4862, allocations: 272.2 kB / 0.6382 GB, free: 8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.4863, allocations: 20 kB / 0.6382 GB, free: 7.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4865, allocations: 406.7 kB / 0.6386 GB, free: 7.574 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/0.487, allocations: 381.8 kB / 0.639 GB, free: 7.199 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/0.4877, allocations: 0.6574 MB / 0.6396 GB, free: 6.418 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.4884, allocations: 0.4987 MB / 0.6401 GB, free: 5.922 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4885, allocations: 0 / 0.6401 GB, free: 5.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003156/0.4916, allocations: 1.694 MB / 0.6418 GB, free: 4.207 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4916, allocations: 8.625 kB / 0.6418 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002484/0.4941, allocations: 1.299 MB / 0.643 GB, free: 2.891 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.496, allocations: 0.5807 MB / 0.6436 GB, free: 2.297 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.4965, allocations: 171.7 kB / 0.6438 GB, free: 2.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1861/0.6827, allocations: 9.624 MB / 0.6532 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.6836, allocations: 48.61 kB / 0.6532 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.6836, allocations: 47.11 kB / 0.6533 GB, free: 123.3 MB / 474.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 () * Number of clocked 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.0006644/0.6843, allocations: 388.1 kB / 0.6536 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.6845, allocations: 89.05 kB / 0.6537 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.6866, allocations: 1.251 MB / 0.6549 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.6866, allocations: 7.625 kB / 0.655 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6866, allocations: 8.297 kB / 0.655 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6866, allocations: 6.016 kB / 0.655 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.6906, allocations: 2.384 MB / 0.6573 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6906, allocations: 1.438 kB / 0.6573 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.6911, allocations: 111.7 kB / 0.6574 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/0.6922, allocations: 374.1 kB / 0.6578 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.6922, allocations: 25.89 kB / 0.6578 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005837/0.6981, allocations: 8.59 MB / 0.6662 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6981, allocations: 3.938 kB / 0.6662 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.7006, allocations: 1.766 MB / 0.6679 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.7011, allocations: 224.7 kB / 0.6681 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.7012, allocations: 30.56 kB / 0.6681 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.7016, allocations: 29.14 kB / 0.6682 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.7018, allocations: 65.31 kB / 0.6682 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.7018, allocations: 22.69 kB / 0.6683 GB, free: 115.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000625/0.7025, allocations: 0.5026 MB / 0.6687 GB, free: 115.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7025, allocations: 0 / 0.6687 GB, free: 115.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00132/0.7038, allocations: 359.6 kB / 0.6691 GB, free: 115.5 MB / 474.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: 2 (system.initime,$cse4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * 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.002631/0.7064, allocations: 2.937 MB / 0.672 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.7086, allocations: 1.566 MB / 0.6735 GB, free: 113.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7086, allocations: 3.344 kB / 0.6735 GB, free: 113.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.7099, allocations: 1.087 MB / 0.6746 GB, free: 112.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.7107, allocations: 170.7 kB / 0.6747 GB, free: 112.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/0.7207, allocations: 13.34 MB / 0.6877 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.7214, allocations: 1.283 MB / 0.689 GB, free: 102.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005829/0.722, allocations: 216 kB / 0.6892 GB, free: 102.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.7224, allocations: 439.6 kB / 0.6896 GB, free: 101.9 MB / 474.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7224, allocations: 3.812 kB / 0.6896 GB, free: 101.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.7593, allocations: 24.27 MB / 0.7133 GB, free: 99.71 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.7595, allocations: 232.2 kB / 0.7136 GB, free: 99.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.287, allocations: 4 kB / 0.7136 GB, free: 99.47 MB / 474.7 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