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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.003024/0.003024, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.863/2.863, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.05/5.05, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008803/0.0008805, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509/1.51, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.03268/1.542, allocations: 15.19 MB / 0.9957 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01792/1.56, allocations: 5.716 MB / 1.001 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/1.563, allocations: 35.88 kB / 1.001 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/1.565, allocations: 334 kB / 1.002 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005006/1.57, allocations: 0.6269 MB / 1.002 GB, free: 376 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/1.574, allocations: 0.6307 MB / 1.003 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005376/1.58, allocations: 1.778 MB / 1.005 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02097/1.601, allocations: 5.917 MB / 1.01 GB, free: 7.973 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/1.605, allocations: 1.063 MB / 1.011 GB, free: 6.906 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/1.609, allocations: 1.235 MB / 1.013 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001055/1.61, allocations: 192 kB / 1.013 GB, free: 5.48 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007897/1.618, allocations: 0.5775 MB / 1.013 GB, free: 4.902 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003791/1.622, allocations: 1.329 MB / 1.015 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.005915/1.628, allocations: 0.5512 MB / 1.015 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01293/1.641, allocations: 5.348 MB / 1.02 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/1.641, allocations: 0 / 1.02 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-05/1.641, allocations: 0 / 1.02 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003039/1.641, allocations: 7.875 kB / 1.02 GB, free: 13.65 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.01364/1.655, allocations: 2.424 MB / 1.023 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 9.474e-05/1.655, allocations: 12.03 kB / 1.023 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002999/1.658, allocations: 450.1 kB / 1.023 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02157/1.68, allocations: 2.08 MB / 1.025 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007792/1.687, allocations: 1.592 MB / 1.027 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004899/1.688, allocations: 221.9 kB / 1.027 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002228/1.69, allocations: 296 kB / 1.027 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02779/1.718, allocations: 5.715 MB / 1.033 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/1.718, allocations: 4 kB / 1.033 GB, free: 0.6602 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/1.72, allocations: 120 kB / 1.033 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007253/1.721, allocations: 204.8 kB / 1.033 GB, free: 348 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0287/1.75, allocations: 5.795 MB / 1.039 GB, free: 10.53 MB / 0.795 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.06334/1.813, allocations: 23.01 MB / 1.061 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/1.824, allocations: 2.647 MB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004163/1.825, allocations: 118.1 kB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.374e-05/1.825, allocations: 51.5 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=116): time 1.114e-05/1.825, allocations: 0 / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=116): time 0.02926/1.854, allocations: 5.194 MB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/1.855, allocations: 234.5 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/1.858, allocations: 1.039 MB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005446/1.859, allocations: 41.7 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002295/1.861, allocations: 1.238 MB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001334/1.862, allocations: 414.2 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/1.863, allocations: 40 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003947/1.863, allocations: 414.7 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007876/1.871, allocations: 1.631 MB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009383/1.88, allocations: 2.301 MB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00951/1.89, allocations: 1.922 MB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.286e-05/1.89, allocations: 8 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=244) (initialization): time 0.02053/1.911, allocations: 4.394 MB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.006218/1.917, allocations: 8.613 MB / 1.091 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.917, allocations: 24 kB / 1.091 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.92, allocations: 454.1 kB / 1.091 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007272/1.927, allocations: 0.7565 MB / 1.092 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/1.943, allocations: 6.537 MB / 1.098 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006829/1.95, allocations: 0.5831 MB / 1.099 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009101/1.951, allocations: 104.6 kB / 1.099 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/1.951, allocations: 4 kB / 1.099 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02199/1.973, allocations: 4.241 MB / 1.103 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/1.973, allocations: 28.03 kB / 1.103 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/1.975, allocations: 347.1 kB / 1.104 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007234/1.982, allocations: 0.7565 MB / 1.104 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/1.996, allocations: 6.353 MB / 1.111 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005583/2.002, allocations: 0.5214 MB / 1.111 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006958/2.002, allocations: 108 kB / 1.111 GB, free: 12.23 MB / 0.8731 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 (223): * Single equations (assignments): 220 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004914/2.007, allocations: 1.258 MB / 1.112 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009333/2.008, allocations: 106.8 kB / 1.113 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/2.025, allocations: 3.618 MB / 1.116 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/2.025, allocations: 12 kB / 1.116 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/2.025, allocations: 8 kB / 1.116 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.333e-05/2.025, allocations: 7.984 kB / 1.116 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/2.052, allocations: 6.992 MB / 1.123 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/2.052, allocations: 8 kB / 1.123 GB, free: 36 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004421/2.056, allocations: 0.5114 MB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/2.058, allocations: 354.2 kB / 1.124 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003573/2.059, allocations: 43.95 kB / 1.124 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/2.07, allocations: 6.411 MB / 1.13 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/2.07, allocations: 8 kB / 1.13 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/2.089, allocations: 3.864 MB / 1.134 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/2.091, allocations: 471.3 kB / 1.134 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007644/2.092, allocations: 31.98 kB / 1.134 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004679/2.097, allocations: 387.4 kB / 1.135 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/2.097, allocations: 92.77 kB / 1.135 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/2.097, allocations: 51.89 kB / 1.135 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002447/2.1, allocations: 0.7449 MB / 1.136 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7.71e-07/2.1, allocations: 0 / 1.136 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.01116/2.111, allocations: 1.423 MB / 1.137 GB, free: 1.02 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (92): * Single equations (assignments): 89 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.02197/2.133, allocations: 5.896 MB / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.03526/2.168, allocations: 6.51 MB / 1.149 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.332e-05/2.169, allocations: 4.5 kB / 1.149 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.009108/2.178, allocations: 2.064 MB / 1.151 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/2.18, allocations: 145.2 kB / 1.151 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08801/2.268, allocations: 31.05 MB / 1.182 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004802/2.273, allocations: 2.238 MB / 1.184 GB, free: 56 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.007474/2.28, allocations: 1.228 MB / 1.185 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002633/2.283, allocations: 0.8351 MB / 1.186 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of SimCode: time 2.655e-06/2.283, allocations: 0 / 1.186 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1745/2.458, allocations: 39.16 MB / 1.224 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000434/2.458, allocations: 237.5 kB / 1.224 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.313/7.771, allocations: 0 / 1.224 GB, free: 6.855 MB / 0.9825 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) Environment - environmentSimulation: 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