Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.Transformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001154/0.001154, allocations: 172.7 kB / 15.95 MB, free: 208 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.403/1.403, 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 9.1.1-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003954, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9093/0.9097, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01653/0.9263, allocations: 15.54 MB / 0.969 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.9365, allocations: 5.759 MB / 0.9746 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.9381, allocations: 40.06 kB / 0.9747 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009414/0.9391, allocations: 304.3 kB / 0.975 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.9419, allocations: 0.8114 MB / 0.9758 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.9444, allocations: 0.5981 MB / 0.9764 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007979/0.9523, allocations: 4.907 MB / 0.9811 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.9634, allocations: 5.925 MB / 0.9869 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/0.9674, allocations: 1.312 MB / 0.9882 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004526/0.972, allocations: 1.901 MB / 0.9901 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009757/0.973, allocations: 188 kB / 0.9902 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.9755, allocations: 0.6009 MB / 0.9908 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.9776, allocations: 1.431 MB / 0.9922 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008864/0.9785, allocations: 0.5512 MB / 0.9928 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00545/0.984, allocations: 5.371 MB / 0.998 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.984, allocations: 0 / 0.998 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.446e-06/0.984, allocations: 0 / 0.998 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001402/0.9842, allocations: 3.938 kB / 0.998 GB, free: 2.727 MB / 0.7481 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.005182/0.9894, allocations: 2.426 MB / 1 GB, free: 248 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.9894, allocations: 12.03 kB / 1 GB, free: 236 kB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007887/0.9902, allocations: 454.1 kB / 1.001 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00958/0.9998, allocations: 2.009 MB / 1.003 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/1.003, allocations: 1.592 MB / 1.004 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/1.004, allocations: 221.9 kB / 1.005 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007314/1.004, allocations: 291.9 kB / 1.005 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/1.018, allocations: 5.746 MB / 1.01 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.708e-05/1.018, allocations: 0 / 1.01 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/1.019, allocations: 124 kB / 1.011 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003222/1.019, allocations: 200.9 kB / 1.011 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/1.034, allocations: 5.795 MB / 1.016 GB, free: 15.64 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02735/1.061, allocations: 22.86 MB / 1.039 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004888/1.066, allocations: 2.513 MB / 1.041 GB, free: 4.094 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/1.07, allocations: 1.632 MB / 1.043 GB, free: 2.441 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/1.07, allocations: 118 kB / 1.043 GB, free: 2.309 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/1.07, allocations: 55.45 kB / 1.043 GB, free: 2.246 MB / 0.795 GB Notification: Performance of pre-optimization done (n=116): time 3.707e-06/1.07, allocations: 0 / 1.043 GB, free: 2.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=146): time 0.03192/1.102, allocations: 11.58 MB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.102, allocations: 222.9 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/1.103, allocations: 1.035 MB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002087/1.104, allocations: 53.7 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007148/1.104, allocations: 1.235 MB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/1.105, allocations: 0.5008 MB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/1.105, allocations: 48 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.105, allocations: 430.9 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/1.109, allocations: 1.76 MB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004331/1.113, allocations: 2.455 MB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004214/1.118, allocations: 2.079 MB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.118, allocations: 8 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01099/1.129, allocations: 5.06 MB / 1.069 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005704/1.129, allocations: 0.7411 MB / 1.07 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/1.129, allocations: 20 kB / 1.07 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/1.132, allocations: 0.8909 MB / 1.07 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/1.135, allocations: 0.7604 MB / 1.071 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/1.149, allocations: 12.8 MB / 1.084 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/1.152, allocations: 474.9 kB / 1.084 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006639/1.153, allocations: 112 kB / 1.084 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.153, allocations: 4 kB / 1.084 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/1.165, allocations: 4.891 MB / 1.089 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.148e-05/1.165, allocations: 24.06 kB / 1.089 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/1.167, allocations: 0.7585 MB / 1.09 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/1.17, allocations: 0.7644 MB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/1.183, allocations: 12.65 MB / 1.103 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/1.186, allocations: 451.1 kB / 1.103 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004493/1.187, allocations: 108 kB / 1.103 GB, free: 1.887 MB / 0.8575 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 () * Number of clocked 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.002509/1.189, allocations: 1.292 MB / 1.105 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004983/1.19, allocations: 122.6 kB / 1.105 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.2, allocations: 4.382 MB / 1.109 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/1.2, allocations: 16 kB / 1.109 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/1.2, allocations: 8 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/1.2, allocations: 7.969 kB / 1.109 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/1.217, allocations: 8.247 MB / 1.117 GB, free: 3.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/1.217, allocations: 8 kB / 1.117 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/1.219, allocations: 0.5193 MB / 1.118 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/1.221, allocations: 0.7114 MB / 1.118 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/1.221, allocations: 51.97 kB / 1.118 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/1.234, allocations: 12.27 MB / 1.13 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/1.234, allocations: 15.94 kB / 1.13 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009995/1.244, allocations: 4.214 MB / 1.134 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009258/1.245, allocations: 495.4 kB / 1.135 GB, free: 308 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/1.245, allocations: 32 kB / 1.135 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.248, allocations: 391.4 kB / 1.135 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/1.248, allocations: 128.7 kB / 1.135 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.248, allocations: 59.91 kB / 1.136 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001165/1.249, allocations: 0.7371 MB / 1.136 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.249, allocations: 3.938 kB / 1.136 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004508/1.254, allocations: 1.125 MB / 1.137 GB, free: 13.84 MB / 0.9044 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 (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.009719/1.264, allocations: 4.805 MB / 1.142 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01679/1.28, allocations: 8.024 MB / 1.15 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.28, allocations: 0 / 1.15 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005468/1.286, allocations: 2.72 MB / 1.153 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.288, allocations: 171.2 kB / 1.153 GB, free: 13.77 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0394/1.327, allocations: 17.63 MB / 1.17 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/1.33, allocations: 2.278 MB / 1.172 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004125/1.334, allocations: 1.233 MB / 1.173 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/1.336, allocations: 0.8507 MB / 1.174 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of SimCode: time 7.92e-07/1.336, allocations: 0 / 1.174 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08729/1.423, allocations: 47.46 MB / 1.221 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.424, allocations: 237.8 kB / 1.221 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/4.235, allocations: 0 / 1.221 GB, free: 7.688 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat