Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.394/2.394, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 171 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 103.7 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.223e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3065, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.399, allocations: 199.5 MB / 1.407 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.399, allocations: 92.53 kB / 1.407 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2698/1.669, allocations: 112.1 MB / 1.517 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.916e-06/1.669, allocations: 0 / 1.517 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001263/1.669, allocations: 56 kB / 1.517 GB, free: 15.29 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.006136/1.675, allocations: 2.365 MB / 1.519 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/1.676, allocations: 12.03 kB / 1.519 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/1.687, allocations: 1.9 MB / 1.521 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/1.692, allocations: 1.674 MB / 1.523 GB, free: 9.238 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/1.692, allocations: 96 kB / 1.523 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006543/1.693, allocations: 168 kB / 1.523 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007659/1.7, allocations: 3.94 MB / 1.527 GB, free: 5.035 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007985/1.708, allocations: 4.377 MB / 1.531 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/1.708, allocations: 4 kB / 1.531 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/1.709, allocations: 0 / 1.531 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003688/1.709, allocations: 200.8 kB / 1.531 GB, free: 376 kB / 0.9323 GB 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.03739/1.747, allocations: 22.11 MB / 1.553 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/1.751, allocations: 1.998 MB / 1.555 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/1.753, allocations: 1.132 MB / 1.556 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/1.754, allocations: 114.4 kB / 1.556 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/1.754, allocations: 59.83 kB / 1.556 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=116): time 5.41e-06/1.754, allocations: 0 / 1.556 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146): time 0.01878/1.773, allocations: 7.018 MB / 1.563 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/1.773, allocations: 234.9 kB / 1.563 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/1.774, allocations: 0.8823 MB / 1.564 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002266/1.775, allocations: 29.73 kB / 1.564 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.776, allocations: 1.239 MB / 1.565 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007433/1.777, allocations: 492.8 kB / 1.566 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/1.777, allocations: 0 / 1.566 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003023/1.777, allocations: 423 kB / 1.566 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/1.78, allocations: 1.238 MB / 1.567 GB, free: 9.078 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003163/1.783, allocations: 1.91 MB / 1.569 GB, free: 6.859 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004949/1.788, allocations: 1.852 MB / 1.571 GB, free: 5.004 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-05/1.788, allocations: 8 kB / 1.571 GB, free: 4.996 MB / 0.9792 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0113/1.799, allocations: 4.12 MB / 1.575 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004184/1.803, allocations: 8.622 MB / 1.583 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-05/1.804, allocations: 27.94 kB / 1.584 GB, free: 7.523 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003151/1.807, allocations: 0.7427 MB / 1.584 GB, free: 6.762 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005229/1.812, allocations: 0.7604 MB / 1.585 GB, free: 6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/1.831, allocations: 12.27 MB / 1.597 GB, free: 9.039 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00496/1.836, allocations: 427 kB / 1.597 GB, free: 8.621 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007094/1.837, allocations: 115.9 kB / 1.597 GB, free: 8.508 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.837, allocations: 4 kB / 1.597 GB, free: 8.504 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01074/1.848, allocations: 3.855 MB / 1.601 GB, free: 4.629 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.804e-05/1.848, allocations: 20 kB / 1.601 GB, free: 4.609 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/1.85, allocations: 0.6609 MB / 1.602 GB, free: 3.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005055/1.855, allocations: 0.7682 MB / 1.603 GB, free: 3.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/1.871, allocations: 11.75 MB / 1.614 GB, free: 6.715 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/1.875, allocations: 411.2 kB / 1.615 GB, free: 6.312 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005452/1.876, allocations: 112 kB / 1.615 GB, free: 6.203 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007496/1.877, allocations: 172.2 kB / 1.615 GB, free: 6.027 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008674/1.885, allocations: 2.998 MB / 1.618 GB, free: 3 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006704/1.886, allocations: 118.6 kB / 1.618 GB, free: 2.883 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009579/1.896, allocations: 3.419 MB / 1.621 GB, free: 15.41 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/1.896, allocations: 15.98 kB / 1.621 GB, free: 15.39 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/1.896, allocations: 12 kB / 1.621 GB, free: 15.38 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/1.896, allocations: 11.97 kB / 1.621 GB, free: 15.37 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/1.915, allocations: 6.7 MB / 1.628 GB, free: 8.473 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.915, allocations: 4 kB / 1.628 GB, free: 8.469 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003608/1.919, allocations: 0.5147 MB / 1.628 GB, free: 7.953 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/1.921, allocations: 0.6259 MB / 1.629 GB, free: 7.309 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/1.921, allocations: 35.95 kB / 1.629 GB, free: 7.273 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/1.938, allocations: 11.56 MB / 1.64 GB, free: 11.02 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-05/1.938, allocations: 11.94 kB / 1.64 GB, free: 11.01 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008699/1.947, allocations: 3.591 MB / 1.644 GB, free: 7.137 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.948, allocations: 495.4 kB / 1.644 GB, free: 6.633 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/1.949, allocations: 11.95 kB / 1.644 GB, free: 6.621 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/1.952, allocations: 379.3 kB / 1.645 GB, free: 6.25 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004089/1.953, allocations: 129 kB / 1.645 GB, free: 6.125 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.953, allocations: 59.95 kB / 1.645 GB, free: 6.066 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001402/1.954, allocations: 0.6748 MB / 1.645 GB, free: 5.398 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.3e-07/1.954, allocations: 0 / 1.645 GB, free: 5.398 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.006359/1.961, allocations: 1.043 MB / 1.646 GB, free: 4.355 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009837/1.971, allocations: 6.032 MB / 1.652 GB, free: 14.1 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01588/1.987, allocations: 6.305 MB / 1.658 GB, free: 7.68 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/1.987, allocations: 256 / 1.658 GB, free: 7.68 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005059/1.992, allocations: 2.14 MB / 1.661 GB, free: 5.48 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/1.993, allocations: 125.2 kB / 1.661 GB, free: 5.359 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02762/2.021, allocations: 6.479 MB / 1.667 GB, free: 14.73 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003476/2.025, allocations: 2.323 MB / 1.669 GB, free: 12.37 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.006426/2.031, allocations: 1.261 MB / 1.671 GB, free: 11.11 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/2.034, allocations: 0.8468 MB / 1.671 GB, free: 10.26 MB / 1.089 GB Notification: Performance of SimCode: time 1.142e-06/2.034, allocations: 7.938 kB / 1.671 GB, free: 10.25 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/2.147, allocations: 46.51 MB / 1.717 GB, free: 11.84 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/2.148, allocations: 177.8 kB / 1.717 GB, free: 11.64 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.314/5.461, allocations: 5.312 kB / 1.717 GB, free: 11.64 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat