Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",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.000966/0.0009661, allocations: 179 kB / 16.38 MB, free: 5.727 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.231/1.231, allocations: 205.4 MB / 222.5 MB, free: 9.055 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.0007995/0.0007994, allocations: 104.5 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1594/0.1594, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002904, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.251, allocations: 56.32 MB / 480.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.3834, allocations: 110.2 MB / 0.5767 GB, free: 8.234 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.3837, allocations: 99.94 kB / 0.5768 GB, free: 8.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0785/0.4623, allocations: 29.74 MB / 0.6059 GB, free: 10.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4623, allocations: 0 / 0.6059 GB, free: 10.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.496e-05/0.4624, allocations: 20 kB / 0.6059 GB, free: 9.992 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002701/0.4651, allocations: 1.202 MB / 0.6071 GB, free: 8.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4651, allocations: 8.031 kB / 0.6071 GB, free: 8.723 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003517/0.4655, allocations: 156 kB / 0.6072 GB, free: 8.562 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.4671, allocations: 258.5 kB / 0.6075 GB, free: 8.309 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/0.4708, allocations: 1.442 MB / 0.6089 GB, free: 6.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.4709, allocations: 61.98 kB / 0.6089 GB, free: 6.762 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.4711, allocations: 83.98 kB / 0.609 GB, free: 6.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.4731, allocations: 1.357 MB / 0.6103 GB, free: 5.219 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.4731, allocations: 7.906 kB / 0.6103 GB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/0.4732, allocations: 32 kB / 0.6104 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.4734, allocations: 97.94 kB / 0.6105 GB, free: 5.086 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.4751, allocations: 1.034 MB / 0.6115 GB, free: 4.047 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00639/0.4815, allocations: 5.777 MB / 0.6171 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.4826, allocations: 0.8157 MB / 0.6179 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/0.4826, allocations: 16.59 kB / 0.6179 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006468/0.4833, allocations: 0.5168 MB / 0.6184 GB, free: 12.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=73): time 2.795e-06/0.4833, allocations: 7.938 kB / 0.6184 GB, free: 12.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.003514/0.4868, allocations: 2.63 MB / 0.621 GB, free: 9.781 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.4869, allocations: 162.8 kB / 0.6212 GB, free: 9.586 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.4875, allocations: 0.5343 MB / 0.6217 GB, free: 9.047 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.4875, allocations: 41.7 kB / 0.6217 GB, free: 9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.4879, allocations: 0.5097 MB / 0.6222 GB, free: 8.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.4881, allocations: 256.5 kB / 0.6225 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.4881, allocations: 20 kB / 0.6225 GB, free: 8.207 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4883, allocations: 390.7 kB / 0.6229 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.4888, allocations: 370.4 kB / 0.6232 GB, free: 7.453 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.4895, allocations: 0.7689 MB / 0.624 GB, free: 6.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.4902, allocations: 0.5278 MB / 0.6245 GB, free: 5.965 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.4903, allocations: 7.984 kB / 0.6245 GB, free: 5.957 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002277/0.4925, allocations: 1.471 MB / 0.6259 GB, free: 4.469 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.4926, allocations: 41.69 kB / 0.626 GB, free: 4.422 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001407/0.494, allocations: 0.8781 MB / 0.6268 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006998/0.4947, allocations: 253.5 kB / 0.6271 GB, free: 3.285 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.4954, allocations: 215.6 kB / 0.6273 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.4993, allocations: 4.141 MB / 0.6313 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.5, allocations: 68 kB / 0.6314 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.691e-05/0.5001, allocations: 59.98 kB / 0.6314 GB, free: 14.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005693/0.5007, allocations: 395 kB / 0.6318 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5008, allocations: 82.98 kB / 0.6319 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.5024, allocations: 0.9547 MB / 0.6328 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/0.5024, allocations: 15.95 kB / 0.6328 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5024, allocations: 0 / 0.6328 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.5025, allocations: 7.984 kB / 0.6328 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.5057, allocations: 1.918 MB / 0.6347 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.5057, allocations: 4.156 kB / 0.6347 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007482/0.5065, allocations: 175.7 kB / 0.6349 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.5065, allocations: 4 kB / 0.6349 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.5066, allocations: 19.98 kB / 0.6349 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.5066, allocations: 4 kB / 0.6349 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5066, allocations: 0 / 0.6349 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.5085, allocations: 1.547 MB / 0.6364 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.5089, allocations: 208.1 kB / 0.6366 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.509, allocations: 19.98 kB / 0.6366 GB, free: 8.988 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004208/0.5094, allocations: 47.86 kB / 0.6367 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.5095, allocations: 40.5 kB / 0.6367 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/0.5096, allocations: 51.89 kB / 0.6368 GB, free: 8.852 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000428/0.51, allocations: 407 kB / 0.6372 GB, free: 8.461 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.51, allocations: 0 / 0.6372 GB, free: 8.461 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009666/0.511, allocations: 271.9 kB / 0.6374 GB, free: 8.195 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002347/0.5134, allocations: 2.57 MB / 0.6399 GB, free: 5.547 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.5152, allocations: 1.299 MB / 0.6412 GB, free: 4.211 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5152, allocations: 0 / 0.6412 GB, free: 4.211 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.5158, allocations: 0.5117 MB / 0.6417 GB, free: 3.691 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.5164, allocations: 123.2 kB / 0.6418 GB, free: 3.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1757/0.6921, allocations: 14.76 MB / 0.6562 GB, free: 125.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.6932, allocations: 1.13 MB / 0.6573 GB, free: 124.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001047/0.6943, allocations: 290.2 kB / 0.6576 GB, free: 124.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.6947, allocations: 338 kB / 0.6579 GB, free: 124.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6947, allocations: 3.875 kB / 0.6579 GB, free: 124.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.7273, allocations: 16.26 MB / 0.6738 GB, free: 123.9 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.7275, allocations: 207 kB / 0.674 GB, free: 123.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.971, allocations: 0 / 0.674 GB, free: 123.7 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat does not exist to compare? outputFormat=mat