Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",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.002034/0.002034, allocations: 99.62 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.002036/0.002036, 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.91/2.91, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.606/4.606, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005442/0.0005443, allocations: 15.98 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385/1.385, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02556/1.411, allocations: 14.86 MB / 0.9954 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01434/1.425, allocations: 5.902 MB / 1.001 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/1.428, allocations: 39.88 kB / 1.001 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/1.429, allocations: 333.9 kB / 1.002 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/1.433, allocations: 0.6191 MB / 1.002 GB, free: 448 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004187/1.437, allocations: 0.8956 MB / 1.003 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004546/1.441, allocations: 1.727 MB / 1.005 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/1.455, allocations: 5.236 MB / 1.01 GB, free: 8.52 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/1.458, allocations: 0.9424 MB / 1.011 GB, free: 7.574 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/1.462, allocations: 1.106 MB / 1.012 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00125/1.463, allocations: 164 kB / 1.012 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/1.466, allocations: 391.5 kB / 1.012 GB, free: 5.922 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003166/1.469, allocations: 1.119 MB / 1.013 GB, free: 4.801 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/1.471, allocations: 0.5043 MB / 1.014 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008/1.479, allocations: 4.619 MB / 1.018 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/1.479, allocations: 0 / 1.018 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.921e-06/1.479, allocations: 3.938 kB / 1.018 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002205/1.479, allocations: 0 / 1.018 GB, free: 15.66 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.00918/1.488, allocations: 2.215 MB / 1.021 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.892e-05/1.488, allocations: 16.03 kB / 1.021 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001642/1.49, allocations: 399.5 kB / 1.021 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007024/1.497, allocations: 0.832 MB / 1.022 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006084/1.503, allocations: 1.387 MB / 1.023 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003871/1.504, allocations: 189.2 kB / 1.023 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/1.506, allocations: 252 kB / 1.024 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01828/1.524, allocations: 4.538 MB / 1.028 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/1.524, allocations: 15.81 kB / 1.028 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006304/1.525, allocations: 116 kB / 1.028 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004209/1.525, allocations: 176.2 kB / 1.028 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/1.541, allocations: 3.811 MB / 1.032 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05099/1.592, allocations: 21.41 MB / 1.053 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/1.597, allocations: 2.252 MB / 1.055 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/1.597, allocations: 19.88 kB / 1.055 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.491e-05/1.597, allocations: 42.56 kB / 1.055 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=62): time 5.871e-06/1.597, allocations: 0 / 1.055 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.01113/1.608, allocations: 4.221 MB / 1.059 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003526/1.608, allocations: 251.4 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/1.612, allocations: 1.1 MB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002467/1.612, allocations: 41.7 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.614, allocations: 1.183 MB / 1.062 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005678/1.614, allocations: 256.6 kB / 1.062 GB, free: 288 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/1.614, allocations: 32 kB / 1.062 GB, free: 256 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0005439/1.615, allocations: 406.7 kB / 1.062 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/1.617, allocations: 0.7065 MB / 1.063 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/1.619, allocations: 1.403 MB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/1.622, allocations: 0.9827 MB / 1.065 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/1.622, allocations: 8 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005487/1.627, allocations: 2.192 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.007515/1.635, allocations: 9.397 MB / 1.077 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/1.635, allocations: 24 kB / 1.077 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001129/1.635, allocations: 36 kB / 1.077 GB, free: 16 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/1.638, allocations: 435.2 kB / 1.077 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.261e-05/1.638, allocations: 47.8 kB / 1.077 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/1.641, allocations: 195.4 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/1.641, allocations: 83.98 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.641, allocations: 8 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004738/1.646, allocations: 1.859 MB / 1.079 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/1.646, allocations: 20 kB / 1.079 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-05/1.646, allocations: 40 kB / 1.079 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/1.648, allocations: 387.3 kB / 1.08 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.445e-05/1.648, allocations: 51.8 kB / 1.08 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/1.65, allocations: 131.9 kB / 1.08 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/1.65, allocations: 83.98 kB / 1.08 GB, free: 12.7 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003392/1.653, allocations: 1.134 MB / 1.081 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006581/1.654, allocations: 102.8 kB / 1.081 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002738/1.657, allocations: 1.112 MB / 1.082 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.657, allocations: 12 kB / 1.082 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/1.657, allocations: 7.984 kB / 1.082 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/1.657, allocations: 4 kB / 1.082 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02359/1.68, allocations: 10.27 MB / 1.092 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.687e-05/1.68, allocations: 19.95 kB / 1.092 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.682, allocations: 187.7 kB / 1.093 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-05/1.682, allocations: 20 kB / 1.093 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/1.682, allocations: 36 kB / 1.093 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.866e-05/1.682, allocations: 35.8 kB / 1.093 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.334e-05/1.682, allocations: 23.88 kB / 1.093 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005085/1.687, allocations: 2.996 MB / 1.096 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.688, allocations: 343.5 kB / 1.096 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/1.688, allocations: 39.92 kB / 1.096 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.69, allocations: 95.86 kB / 1.096 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.69, allocations: 99.92 kB / 1.096 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.93e-05/1.69, allocations: 40 kB / 1.096 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001917/1.692, allocations: 0.7581 MB / 1.097 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/1.692, allocations: 0 / 1.097 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005844/1.698, allocations: 0.7266 MB / 1.098 GB, free: 9.734 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009448/1.708, allocations: 8.313 MB / 1.106 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006623/1.714, allocations: 2.495 MB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.988e-05/1.714, allocations: 0 / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.716, allocations: 0.5762 MB / 1.109 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/1.719, allocations: 218.5 kB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04536/1.764, allocations: 26.74 MB / 1.135 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003689/1.768, allocations: 2.058 MB / 1.137 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003626/1.771, allocations: 0.8404 MB / 1.138 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/1.773, allocations: 0.7258 MB / 1.139 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of SimCode: time 1.503e-06/1.773, allocations: 0 / 1.139 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8172/2.591, allocations: 28.35 MB / 1.166 GB, free: 2.34 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004329/2.591, allocations: 221.7 kB / 1.167 GB, free: 2.098 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.4/8.991, allocations: 0 / 1.167 GB, free: 2.098 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat