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.00101/0.00101, allocations: 91.84 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.001217/0.001217, 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.471/1.471, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.606/2.606, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 8 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7942, allocations: 146.8 MB / 0.9812 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01654/0.8108, allocations: 15.53 MB / 0.9963 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00962/0.8204, allocations: 5.762 MB / 1.002 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.8218, allocations: 39.88 kB / 1.002 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.823, allocations: 305.8 kB / 1.002 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.8256, allocations: 0.8054 MB / 1.003 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.8276, allocations: 0.6072 MB / 1.004 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005159/0.8328, allocations: 4.899 MB / 1.008 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.8429, allocations: 5.929 MB / 1.014 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.8462, allocations: 1.308 MB / 1.016 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.8504, allocations: 1.901 MB / 1.017 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001342/0.8518, allocations: 188 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.8543, allocations: 0.6009 MB / 1.018 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001965/0.8563, allocations: 1.431 MB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009156/0.8572, allocations: 0.5473 MB / 1.02 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006118/0.8634, allocations: 5.367 MB / 1.025 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.8634, allocations: 4 kB / 1.025 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8634, allocations: 8 kB / 1.025 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001602/0.8636, allocations: 0 / 1.025 GB, free: 8.871 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.005634/0.8692, allocations: 2.42 MB / 1.028 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.8693, allocations: 8.031 kB / 1.028 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/0.8703, allocations: 454.1 kB / 1.028 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009656/0.88, allocations: 2.017 MB / 1.03 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/0.8837, allocations: 1.595 MB / 1.032 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.8839, allocations: 221.9 kB / 1.032 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008417/0.8848, allocations: 280 kB / 1.032 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.8973, allocations: 5.742 MB / 1.038 GB, free: 11.94 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/0.8974, allocations: 0 / 1.038 GB, free: 11.94 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.8978, allocations: 128 kB / 1.038 GB, free: 11.81 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003574/0.8981, allocations: 212.8 kB / 1.038 GB, free: 11.6 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.9116, allocations: 5.787 MB / 1.044 GB, free: 5.797 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.03364/0.9453, allocations: 22.85 MB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005199/0.9506, allocations: 2.51 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/0.9545, allocations: 1.638 MB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.9548, allocations: 133.9 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.9549, allocations: 47.56 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=116): time 4.098e-06/0.9549, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=146): time 0.03758/0.9925, allocations: 11.58 MB / 1.082 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.9927, allocations: 222.9 kB / 1.082 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.9945, allocations: 1.039 MB / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003161/0.9949, allocations: 57.64 kB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009998/0.9959, allocations: 1.242 MB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007435/0.9966, allocations: 0.4969 MB / 1.085 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.9969, allocations: 48 kB / 1.085 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002581/0.9972, allocations: 427 kB / 1.085 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0042/1.001, allocations: 1.764 MB / 1.087 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004917/1.006, allocations: 2.451 MB / 1.089 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004725/1.011, allocations: 2.083 MB / 1.091 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.801e-05/1.011, allocations: 12 kB / 1.091 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01198/1.023, allocations: 5.052 MB / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006275/1.024, allocations: 0.7407 MB / 1.097 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.773e-05/1.024, allocations: 20 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/1.027, allocations: 0.8831 MB / 1.098 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/1.03, allocations: 0.7565 MB / 1.098 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.044, allocations: 12.8 MB / 1.111 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/1.047, allocations: 467 kB / 1.111 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005126/1.048, allocations: 116 kB / 1.111 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.048, allocations: 7.984 kB / 1.111 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01189/1.06, allocations: 4.903 MB / 1.116 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.046e-05/1.06, allocations: 20 kB / 1.116 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/1.062, allocations: 0.7546 MB / 1.117 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003201/1.065, allocations: 0.7565 MB / 1.118 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/1.079, allocations: 12.66 MB / 1.13 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/1.082, allocations: 447.2 kB / 1.131 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005675/1.083, allocations: 112 kB / 1.131 GB, free: 8.043 MB / 0.8887 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.002859/1.086, allocations: 1.289 MB / 1.132 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000629/1.086, allocations: 118.6 kB / 1.132 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.098, allocations: 4.386 MB / 1.136 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/1.098, allocations: 16 kB / 1.136 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-05/1.098, allocations: 8 kB / 1.136 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.188e-05/1.098, allocations: 7.969 kB / 1.136 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.117, allocations: 8.239 MB / 1.144 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/1.117, allocations: 4 kB / 1.144 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/1.119, allocations: 0.5265 MB / 1.145 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/1.121, allocations: 0.7152 MB / 1.146 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002836/1.122, allocations: 47.97 kB / 1.146 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/1.135, allocations: 12.27 MB / 1.158 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/1.135, allocations: 11.94 kB / 1.158 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.145, allocations: 4.206 MB / 1.162 GB, free: 6.977 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.147, allocations: 499.4 kB / 1.162 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005428/1.147, allocations: 28 kB / 1.162 GB, free: 6.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.15, allocations: 399.3 kB / 1.163 GB, free: 6.051 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003956/1.15, allocations: 128.7 kB / 1.163 GB, free: 5.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.15, allocations: 67.89 kB / 1.163 GB, free: 5.859 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00134/1.152, allocations: 0.741 MB / 1.164 GB, free: 5.121 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/1.152, allocations: 0 / 1.164 GB, free: 5.121 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005339/1.157, allocations: 1.113 MB / 1.165 GB, free: 4.008 MB / 0.92 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.01079/1.168, allocations: 4.813 MB / 1.169 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01908/1.187, allocations: 8.012 MB / 1.177 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/1.187, allocations: 4.438 kB / 1.177 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.006208/1.193, allocations: 2.716 MB / 1.18 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.196, allocations: 172.4 kB / 1.18 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04287/1.239, allocations: 17.62 MB / 1.197 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003159/1.242, allocations: 2.285 MB / 1.199 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004278/1.246, allocations: 1.233 MB / 1.201 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/1.248, allocations: 0.8545 MB / 1.201 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of SimCode: time 1.002e-06/1.248, allocations: 0 / 1.201 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6096/1.857, allocations: 47.45 MB / 1.248 GB, free: 236.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.858, allocations: 247.7 kB / 1.248 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/4.796, allocations: 2.5 kB / 1.248 GB, free: 236.3 MB / 0.9981 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