Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",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.374/2.374, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001124/0.001124, allocations: 181.8 kB / 0.4901 GB, free: 2.223 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.606/1.606, allocations: 223.1 MB / 0.7992 GB, free: 15.65 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.001063/0.001063, allocations: 101.5 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004014, allocations: 8.219 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3328, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.399, allocations: 204.7 MB / 1.429 GB, free: 72.9 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/1.399, allocations: 99.69 kB / 1.429 GB, free: 72.9 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2872/1.686, allocations: 129.2 MB / 1.555 GB, free: 28.77 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.994e-06/1.686, allocations: 0 / 1.555 GB, free: 28.77 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001374/1.687, allocations: 65.03 kB / 1.556 GB, free: 28.76 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.00816/1.695, allocations: 2.542 MB / 1.558 GB, free: 26.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.695, allocations: 8.031 kB / 1.558 GB, free: 26.39 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001635/1.697, allocations: 456.6 kB / 1.558 GB, free: 26.11 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/1.708, allocations: 2.052 MB / 1.56 GB, free: 24.06 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0054/1.714, allocations: 1.803 MB / 1.562 GB, free: 22.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/1.714, allocations: 216.8 kB / 1.562 GB, free: 22.57 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/1.715, allocations: 293.1 kB / 1.563 GB, free: 22.37 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/1.728, allocations: 5.467 MB / 1.568 GB, free: 18.52 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-05/1.729, allocations: 8 kB / 1.568 GB, free: 18.51 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/1.729, allocations: 125.3 kB / 1.568 GB, free: 18.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004018/1.729, allocations: 244.9 kB / 1.568 GB, free: 18.25 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/1.744, allocations: 5.661 MB / 1.574 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0309/1.775, allocations: 22.43 MB / 1.596 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005756/1.78, allocations: 2.526 MB / 1.598 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/1.781, allocations: 110.1 kB / 1.598 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.781, allocations: 47.56 kB / 1.598 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=122): time 3.076e-06/1.781, allocations: 0 / 1.598 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=173): time 0.05394/1.835, allocations: 14.73 MB / 1.613 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.835, allocations: 69.41 kB / 1.613 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/1.837, allocations: 1.029 MB / 1.614 GB, free: 5.082 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004061/1.837, allocations: 53.7 kB / 1.614 GB, free: 5.023 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009616/1.838, allocations: 1.27 MB / 1.615 GB, free: 3.734 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007896/1.839, allocations: 0.5931 MB / 1.616 GB, free: 3.133 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/1.839, allocations: 51.94 kB / 1.616 GB, free: 3.082 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002956/1.839, allocations: 447.5 kB / 1.616 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005001/1.844, allocations: 2.007 MB / 1.618 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00548/1.85, allocations: 2.718 MB / 1.621 GB, free: 13.58 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005316/1.855, allocations: 2.355 MB / 1.623 GB, free: 11.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/1.855, allocations: 8 kB / 1.623 GB, free: 11.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01494/1.87, allocations: 6.164 MB / 1.629 GB, free: 5.023 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003968/1.874, allocations: 8.877 MB / 1.638 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/1.874, allocations: 24 kB / 1.638 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004646/1.879, allocations: 1.406 MB / 1.639 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/1.883, allocations: 0.7682 MB / 1.64 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/1.905, allocations: 17.77 MB / 1.657 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/1.909, allocations: 495 kB / 1.658 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005336/1.91, allocations: 120 kB / 1.658 GB, free: 6.066 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.91, allocations: 4 kB / 1.658 GB, free: 6.062 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01478/1.924, allocations: 6.015 MB / 1.664 GB, free: 24 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.723e-05/1.925, allocations: 20 kB / 1.664 GB, free: 4 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004187/1.929, allocations: 1.368 MB / 1.665 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/1.933, allocations: 0.7721 MB / 1.666 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/1.954, allocations: 17.58 MB / 1.683 GB, free: 11.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/1.957, allocations: 467.1 kB / 1.684 GB, free: 11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004473/1.958, allocations: 123.9 kB / 1.684 GB, free: 10.88 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003278/1.961, allocations: 1.328 MB / 1.685 GB, free: 9.543 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/1.962, allocations: 134.4 kB / 1.685 GB, free: 9.41 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/1.976, allocations: 5.774 MB / 1.691 GB, free: 3.578 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/1.976, allocations: 16 kB / 1.691 GB, free: 3.562 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/1.976, allocations: 11.94 kB / 1.691 GB, free: 3.551 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/1.976, allocations: 11.97 kB / 1.691 GB, free: 3.539 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/1.997, allocations: 9.314 MB / 1.7 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.997, allocations: 8 kB / 1.7 GB, free: 10.04 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/1.999, allocations: 0.5225 MB / 1.7 GB, free: 9.52 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003587/2.003, allocations: 1.188 MB / 1.702 GB, free: 8.312 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/2.003, allocations: 47.97 kB / 1.702 GB, free: 8.266 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/2.023, allocations: 17.06 MB / 1.718 GB, free: 6.398 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/2.023, allocations: 4 kB / 1.718 GB, free: 6.395 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/2.036, allocations: 5.339 MB / 1.723 GB, free: 0.7773 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/2.038, allocations: 0.5538 MB / 1.724 GB, free: 208 kB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/2.038, allocations: 32 kB / 1.724 GB, free: 176 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/2.04, allocations: 447.1 kB / 1.724 GB, free: 15.73 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/2.041, allocations: 157 kB / 1.725 GB, free: 15.58 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/2.041, allocations: 59.95 kB / 1.725 GB, free: 15.52 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001316/2.042, allocations: 0.8012 MB / 1.725 GB, free: 14.71 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.104e-06/2.042, allocations: 0 / 1.725 GB, free: 14.71 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004388/2.047, allocations: 1.332 MB / 1.727 GB, free: 13.38 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 98 * 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%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01265/2.059, allocations: 7.808 MB / 1.734 GB, free: 5.332 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02165/2.081, allocations: 9.543 MB / 1.744 GB, free: 11.64 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/2.081, allocations: 4 kB / 1.744 GB, free: 11.64 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.007433/2.088, allocations: 3.298 MB / 1.747 GB, free: 8.266 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/2.09, allocations: 196.6 kB / 1.747 GB, free: 8.07 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05106/2.141, allocations: 35.38 MB / 1.782 GB, free: 3.867 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/2.144, allocations: 2.43 MB / 1.784 GB, free: 1.398 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.004038/2.148, allocations: 1.262 MB / 1.785 GB, free: 132 kB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/2.15, allocations: 0.9093 MB / 1.786 GB, free: 15.21 MB / 1.12 GB Notification: Performance of SimCode: time 2.695e-06/2.15, allocations: 0 / 1.786 GB, free: 15.21 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/2.252, allocations: 60.22 MB / 1.845 GB, free: 3.438 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/2.252, allocations: 234 kB / 1.845 GB, free: 3.203 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.722/5.974, allocations: 7.938 kB / 1.845 GB, free: 3.195 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat does not exist to compare? outputFormat=mat