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.001221/0.001221, allocations: 175.5 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.593/1.593, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009172/0.0009171, allocations: 82.66 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1628/0.1628, allocations: 37.98 MB / 353.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.03e-05, allocations: 0 / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 56.33 MB / 474.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3974/0.5083, allocations: 110.1 MB / 0.5705 GB, free: 9.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5086, allocations: 94.67 kB / 0.5706 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08081/0.5894, allocations: 29.72 MB / 0.5996 GB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5895, allocations: 0 / 0.5996 GB, free: 15.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.556e-05/0.5896, allocations: 20 kB / 0.5997 GB, free: 15.24 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.001973/0.5915, allocations: 1.102 MB / 0.6007 GB, free: 14.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5916, allocations: 12.02 kB / 0.6007 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.5918, allocations: 153.7 kB / 0.6009 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.5932, allocations: 254.4 kB / 0.6011 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/0.5968, allocations: 1.437 MB / 0.6025 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.5969, allocations: 63.66 kB / 0.6026 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.597, allocations: 85.42 kB / 0.6027 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.5989, allocations: 1.328 MB / 0.604 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.599, allocations: 7.938 kB / 0.604 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.264e-05/0.599, allocations: 36.19 kB / 0.604 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.5992, allocations: 96.31 kB / 0.6041 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.6007, allocations: 1.015 MB / 0.6051 GB, free: 10.5 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006118/0.6068, allocations: 5.76 MB / 0.6107 GB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.6079, allocations: 0.8147 MB / 0.6115 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/0.6084, allocations: 373.4 kB / 0.6119 GB, free: 4.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.6085, allocations: 16.53 kB / 0.6119 GB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/0.6092, allocations: 0.5157 MB / 0.6124 GB, free: 3.797 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 3.537e-06/0.6092, allocations: 0 / 0.6124 GB, free: 3.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.003097/0.6123, allocations: 2.075 MB / 0.6144 GB, free: 2.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.6124, allocations: 170.8 kB / 0.6146 GB, free: 1.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.6131, allocations: 0.5326 MB / 0.6151 GB, free: 1.422 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.6131, allocations: 42.98 kB / 0.6151 GB, free: 1.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.6135, allocations: 0.5076 MB / 0.6156 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.6137, allocations: 258.2 kB / 0.6159 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.6137, allocations: 21.81 kB / 0.6159 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6139, allocations: 390.6 kB / 0.6163 GB, free: 392 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.6144, allocations: 356.6 kB / 0.6166 GB, free: 144 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/0.6152, allocations: 0.7598 MB / 0.6174 GB, free: 15.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.6158, allocations: 0.5302 MB / 0.6179 GB, free: 14.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.6159, allocations: 4 kB / 0.6179 GB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002413/0.6183, allocations: 1.463 MB / 0.6193 GB, free: 13.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.6183, allocations: 38.67 kB / 0.6194 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001466/0.6198, allocations: 0.8717 MB / 0.6202 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/0.6205, allocations: 249.5 kB / 0.6204 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.6213, allocations: 223.6 kB / 0.6207 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/0.6253, allocations: 4.019 MB / 0.6246 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/0.626, allocations: 67.84 kB / 0.6246 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.6261, allocations: 59.98 kB / 0.6247 GB, free: 7.84 MB / 426.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 () * 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.0002326/0.6264, allocations: 214.3 kB / 0.6249 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.6265, allocations: 75.12 kB / 0.625 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.6281, allocations: 0.9415 MB / 0.6259 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/0.6281, allocations: 23.89 kB / 0.6259 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.6281, allocations: 4.047 kB / 0.6259 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.6281, allocations: 7.969 kB / 0.6259 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.6311, allocations: 1.92 MB / 0.6278 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6311, allocations: 0 / 0.6278 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/0.6319, allocations: 167.8 kB / 0.628 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.6319, allocations: 4 kB / 0.628 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/0.6319, allocations: 19.98 kB / 0.628 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.632, allocations: 4 kB / 0.628 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.632, allocations: 3.938 kB / 0.628 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.6339, allocations: 1.527 MB / 0.6295 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.6342, allocations: 216.1 kB / 0.6297 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.6343, allocations: 19.98 kB / 0.6297 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.6347, allocations: 43.95 kB / 0.6298 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.6348, allocations: 52.44 kB / 0.6298 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-05/0.6349, allocations: 39.92 kB / 0.6298 GB, free: 2.367 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004415/0.6354, allocations: 403.1 kB / 0.6302 GB, free: 1.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6354, allocations: 0 / 0.6302 GB, free: 1.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009907/0.6364, allocations: 271.9 kB / 0.6305 GB, free: 1.715 MB / 426.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) * 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.002561/0.6389, allocations: 2.566 MB / 0.633 GB, free: 15.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.6409, allocations: 1.277 MB / 0.6342 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6409, allocations: 1.625 kB / 0.6342 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.6415, allocations: 0.4986 MB / 0.6347 GB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.6422, allocations: 127.2 kB / 0.6348 GB, free: 13.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.6454, allocations: 1.87 MB / 0.6367 GB, free: 11.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.6462, allocations: 1.142 MB / 0.6378 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007424/0.6469, allocations: 294.1 kB / 0.6381 GB, free: 9.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.6474, allocations: 339.3 kB / 0.6384 GB, free: 9.398 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6474, allocations: 0 / 0.6384 GB, free: 9.398 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.878/2.525, allocations: 16.49 MB / 0.6545 GB, free: 8.93 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01237/2.538, allocations: 190.1 kB / 0.6547 GB, free: 8.695 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/5.142, allocations: 4 kB / 0.6547 GB, free: 8.691 MB / 458.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