Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001089/0.001089, allocations: 176.7 kB / 487.4 MB, free: 5.059 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.458/1.458, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008726/0.0008725, allocations: 87.92 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.756e-05/1.766e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2715, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9456/1.217, allocations: 203.2 MB / 1.404 GB, free: 5.113 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/1.218, allocations: 94.81 kB / 1.405 GB, free: 5.062 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3122/1.53, allocations: 128.2 MB / 1.53 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.144e-06/1.53, allocations: 0 / 1.53 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001236/1.53, allocations: 63.98 kB / 1.53 GB, free: 2.996 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.008372/1.538, allocations: 2.432 MB / 1.532 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.538, allocations: 12.56 kB / 1.532 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/1.551, allocations: 2.052 MB / 1.534 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00451/1.556, allocations: 1.79 MB / 1.536 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/1.556, allocations: 96 kB / 1.536 GB, free: 12.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009103/1.557, allocations: 168 kB / 1.536 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01005/1.567, allocations: 4.096 MB / 1.54 GB, free: 8.242 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/1.581, allocations: 4.531 MB / 1.545 GB, free: 3.645 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.739e-05/1.581, allocations: 0 / 1.545 GB, free: 3.645 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004332/1.581, allocations: 0 / 1.545 GB, free: 3.645 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006048/1.582, allocations: 253.9 kB / 1.545 GB, free: 3.395 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/1.614, allocations: 21.79 MB / 1.566 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/1.617, allocations: 2.018 MB / 1.568 GB, free: 9.574 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/1.619, allocations: 1.207 MB / 1.569 GB, free: 8.367 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/1.619, allocations: 110.4 kB / 1.569 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.619, allocations: 43.88 kB / 1.569 GB, free: 8.188 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=122): time 3.356e-06/1.619, allocations: 0 / 1.569 GB, free: 8.188 MB / 0.9792 GB Notification: Performance of matching and sorting (n=173): time 0.01516/1.634, allocations: 6.978 MB / 1.576 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/1.634, allocations: 69.41 kB / 1.576 GB, free: 1.121 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/1.636, allocations: 0.9658 MB / 1.577 GB, free: 136 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.636, allocations: 25.7 kB / 1.577 GB, free: 104 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00072/1.637, allocations: 1.262 MB / 1.579 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/1.637, allocations: 0.5697 MB / 1.579 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/1.637, allocations: 0 / 1.579 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.637, allocations: 451.5 kB / 1.579 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/1.639, allocations: 1.477 MB / 1.581 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/1.642, allocations: 2.181 MB / 1.583 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/1.646, allocations: 2.137 MB / 1.585 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.646, allocations: 8 kB / 1.585 GB, free: 7.664 MB / 0.9948 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01013/1.656, allocations: 5.252 MB / 1.59 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003277/1.659, allocations: 8.873 MB / 1.599 GB, free: 8.816 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.376e-05/1.659, allocations: 27.95 kB / 1.599 GB, free: 8.789 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/1.663, allocations: 1.371 MB / 1.6 GB, free: 7.398 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00368/1.667, allocations: 0.772 MB / 1.601 GB, free: 6.625 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/1.688, allocations: 16.71 MB / 1.617 GB, free: 5.215 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/1.691, allocations: 446.9 kB / 1.618 GB, free: 4.777 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/1.692, allocations: 124 kB / 1.618 GB, free: 4.656 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.692, allocations: 4 kB / 1.618 GB, free: 4.652 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01002/1.702, allocations: 4.97 MB / 1.623 GB, free: 15.66 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.167e-05/1.702, allocations: 27.98 kB / 1.623 GB, free: 15.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003466/1.705, allocations: 1.309 MB / 1.624 GB, free: 14.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/1.709, allocations: 0.7721 MB / 1.625 GB, free: 13.53 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/1.727, allocations: 16.09 MB / 1.641 GB, free: 12.74 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/1.731, allocations: 427 kB / 1.641 GB, free: 12.32 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/1.731, allocations: 116 kB / 1.641 GB, free: 12.21 MB / 1.057 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 () * 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.0006179/1.732, allocations: 172.2 kB / 1.641 GB, free: 12.03 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008088/1.74, allocations: 4.114 MB / 1.645 GB, free: 7.887 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/1.74, allocations: 142.3 kB / 1.645 GB, free: 7.746 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.753, allocations: 4.782 MB / 1.65 GB, free: 2.91 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/1.753, allocations: 16 kB / 1.65 GB, free: 2.895 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.753, allocations: 12 kB / 1.65 GB, free: 2.883 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/1.753, allocations: 7.969 kB / 1.65 GB, free: 2.875 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/1.774, allocations: 8.047 MB / 1.658 GB, free: 10.62 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.774, allocations: 4 kB / 1.658 GB, free: 10.61 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/1.778, allocations: 0.5194 MB / 1.658 GB, free: 10.09 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004668/1.782, allocations: 1.168 MB / 1.66 GB, free: 8.906 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003491/1.783, allocations: 23.97 kB / 1.66 GB, free: 8.883 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02708/1.81, allocations: 15.89 MB / 1.675 GB, free: 8.301 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.632e-05/1.81, allocations: 15.89 kB / 1.675 GB, free: 8.285 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.822, allocations: 4.398 MB / 1.679 GB, free: 3.602 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.824, allocations: 0.5421 MB / 1.68 GB, free: 3.039 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006922/1.825, allocations: 11.98 kB / 1.68 GB, free: 3.027 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00406/1.829, allocations: 423.2 kB / 1.68 GB, free: 2.613 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006389/1.829, allocations: 145 kB / 1.681 GB, free: 2.473 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002995/1.83, allocations: 71.95 kB / 1.681 GB, free: 2.402 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001629/1.831, allocations: 0.7387 MB / 1.681 GB, free: 1.652 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.3e-07/1.831, allocations: 0 / 1.681 GB, free: 1.652 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.00661/1.838, allocations: 1.191 MB / 1.683 GB, free: 468 kB / 1.089 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 (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.009752/1.848, allocations: 6.844 MB / 1.689 GB, free: 9.383 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.863, allocations: 7.66 MB / 1.697 GB, free: 1.613 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/1.863, allocations: 5 kB / 1.697 GB, free: 1.609 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.00522/1.868, allocations: 2.703 MB / 1.699 GB, free: 14.84 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/1.87, allocations: 164.7 kB / 1.699 GB, free: 14.68 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02254/1.892, allocations: 6.968 MB / 1.706 GB, free: 7.562 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002927/1.895, allocations: 2.427 MB / 1.709 GB, free: 5.098 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.004488/1.9, allocations: 1.297 MB / 1.71 GB, free: 3.793 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/1.901, allocations: 0.9015 MB / 1.711 GB, free: 2.895 MB / 1.12 GB Notification: Performance of SimCode: time 8.21e-07/1.901, allocations: 0 / 1.711 GB, free: 2.895 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7955/2.697, allocations: 60.03 MB / 1.769 GB, free: 338.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/2.697, allocations: 179.5 kB / 1.77 GB, free: 338 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/6.519, allocations: 0 / 1.77 GB, free: 338 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat does not exist to compare? outputFormat=mat