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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000971/0.0009707, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.623/2.623, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003932, allocations: 12 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.798, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.01755/0.8156, allocations: 15.88 MB / 0.9967 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.8261, allocations: 5.825 MB / 1.002 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.8276, allocations: 43.88 kB / 1.002 GB, free: 460 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.8288, allocations: 317.7 kB / 1.003 GB, free: 140 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.8315, allocations: 0.8286 MB / 1.003 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.8336, allocations: 0.6539 MB / 1.004 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005005/0.8386, allocations: 5.126 MB / 1.009 GB, free: 9.516 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009756/0.8484, allocations: 5.975 MB / 1.015 GB, free: 3.477 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.8508, allocations: 1.366 MB / 1.016 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.8541, allocations: 1.963 MB / 1.018 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008227/0.8549, allocations: 196 kB / 1.018 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.8569, allocations: 0.6087 MB / 1.019 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.8592, allocations: 1.458 MB / 1.02 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.8604, allocations: 0.5745 MB / 1.021 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.866, allocations: 5.496 MB / 1.026 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.866, allocations: 0 / 1.026 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.865e-06/0.866, allocations: 4 kB / 1.026 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002062/0.8662, allocations: 0 / 1.026 GB, free: 7.781 MB / 0.7794 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.006732/0.873, allocations: 2.513 MB / 1.029 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.8731, allocations: 8.031 kB / 1.029 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001467/0.8745, allocations: 462.1 kB / 1.029 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.8853, allocations: 2.173 MB / 1.031 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.8887, allocations: 1.695 MB / 1.033 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.889, allocations: 221.8 kB / 1.033 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.89, allocations: 283.9 kB / 1.034 GB, free: 328 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.9038, allocations: 5.884 MB / 1.039 GB, free: 10.36 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.143e-05/0.9039, allocations: 3.906 kB / 1.039 GB, free: 10.36 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007098/0.9047, allocations: 120 kB / 1.039 GB, free: 10.24 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004382/0.9051, allocations: 262 kB / 1.04 GB, free: 9.984 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.919, allocations: 6.081 MB / 1.046 GB, free: 3.891 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/0.9464, allocations: 22.51 MB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005432/0.9519, allocations: 2.532 MB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004169/0.9561, allocations: 1.701 MB / 1.072 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.9563, allocations: 110 kB / 1.072 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.9564, allocations: 55.5 kB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=122): time 3.076e-06/0.9564, allocations: 0 / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=173): time 0.04823/1.005, allocations: 14.58 MB / 1.086 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/1.005, allocations: 69.41 kB / 1.086 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/1.007, allocations: 1.139 MB / 1.087 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003629/1.007, allocations: 57.7 kB / 1.087 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.008, allocations: 1.274 MB / 1.089 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.009, allocations: 0.597 MB / 1.089 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/1.01, allocations: 44 kB / 1.089 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002456/1.01, allocations: 447.5 kB / 1.09 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004822/1.015, allocations: 2.007 MB / 1.092 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006051/1.021, allocations: 2.734 MB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005283/1.026, allocations: 2.363 MB / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/1.026, allocations: 4 kB / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0156/1.042, allocations: 6.215 MB / 1.103 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.001202/1.043, allocations: 0.7577 MB / 1.103 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.641e-05/1.043, allocations: 24 kB / 1.103 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004915/1.048, allocations: 1.546 MB / 1.105 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/1.051, allocations: 0.7605 MB / 1.106 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/1.074, allocations: 17.39 MB / 1.123 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/1.077, allocations: 479 kB / 1.123 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005695/1.078, allocations: 123.9 kB / 1.123 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/1.078, allocations: 4 kB / 1.123 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01478/1.093, allocations: 6.059 MB / 1.129 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-05/1.093, allocations: 27.97 kB / 1.129 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004253/1.097, allocations: 1.445 MB / 1.131 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.101, allocations: 0.7604 MB / 1.131 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02206/1.123, allocations: 17.2 MB / 1.148 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/1.126, allocations: 467.1 kB / 1.149 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006539/1.127, allocations: 123.9 kB / 1.149 GB, free: 5.773 MB / 0.9044 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 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003233/1.13, allocations: 1.33 MB / 1.15 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/1.13, allocations: 138.4 kB / 1.15 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.144, allocations: 5.802 MB / 1.156 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.144, allocations: 16 kB / 1.156 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.316e-05/1.144, allocations: 19.98 kB / 1.156 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/1.144, allocations: 7.969 kB / 1.156 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/1.165, allocations: 9.599 MB / 1.165 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/1.165, allocations: 4 kB / 1.165 GB, free: 4.562 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/1.167, allocations: 0.519 MB / 1.166 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004033/1.171, allocations: 1.269 MB / 1.167 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/1.171, allocations: 51.95 kB / 1.167 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/1.193, allocations: 16.59 MB / 1.183 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/1.193, allocations: 11.94 kB / 1.183 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.205, allocations: 5.041 MB / 1.188 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.206, allocations: 0.5538 MB / 1.189 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005462/1.207, allocations: 40 kB / 1.189 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/1.209, allocations: 431.3 kB / 1.189 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005771/1.21, allocations: 153 kB / 1.189 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/1.21, allocations: 67.95 kB / 1.189 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001738/1.212, allocations: 0.8051 MB / 1.19 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.212, allocations: 0 / 1.19 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00585/1.218, allocations: 1.27 MB / 1.191 GB, free: 8.793 MB / 0.9512 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,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01274/1.23, allocations: 5.66 MB / 1.197 GB, free: 3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02178/1.252, allocations: 9.47 MB / 1.206 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.252, allocations: 4 kB / 1.206 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.007246/1.26, allocations: 3.273 MB / 1.209 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/1.262, allocations: 219 kB / 1.21 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04653/1.308, allocations: 20.23 MB / 1.229 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004002/1.312, allocations: 2.383 MB / 1.232 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004498/1.317, allocations: 1.25 MB / 1.233 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/1.318, allocations: 0.9288 MB / 1.234 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.183e-06/1.318, allocations: 0 / 1.234 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6457/1.964, allocations: 61.56 MB / 1.294 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/1.964, allocations: 250.3 kB / 1.294 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.288/5.253, allocations: 0.875 kB / 1.294 GB, free: 215.9 MB / 0.9981 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) Environment - environmentSimulation: 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