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.001035/0.001035, allocations: 91.61 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.001303/0.001303, 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.445/2.445, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7456, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01639/0.762, allocations: 15.15 MB / 0.9959 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00926/0.7713, allocations: 5.929 MB / 1.002 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.7727, allocations: 43.81 kB / 1.002 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.7735, allocations: 305.7 kB / 1.002 GB, free: 0.7773 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.7752, allocations: 0.6574 MB / 1.003 GB, free: 120 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.7775, allocations: 0.8138 MB / 1.004 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004719/0.7823, allocations: 4.435 MB / 1.008 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008484/0.7908, allocations: 5.247 MB / 1.013 GB, free: 5.559 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.7931, allocations: 1.152 MB / 1.014 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.7962, allocations: 1.682 MB / 1.016 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007906/0.797, allocations: 160 kB / 1.016 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.7986, allocations: 395.6 kB / 1.016 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001932/0.8005, allocations: 1.216 MB / 1.017 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.8018, allocations: 0.5043 MB / 1.018 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005337/0.8071, allocations: 4.635 MB / 1.022 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.8071, allocations: 0 / 1.022 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8072, allocations: 0 / 1.022 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002061/0.8074, allocations: 0 / 1.022 GB, free: 11.8 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.005928/0.8133, allocations: 2.223 MB / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8134, allocations: 8.031 kB / 1.025 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001459/0.8148, allocations: 411.5 kB / 1.025 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/0.8192, allocations: 0.7891 MB / 1.026 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/0.8224, allocations: 1.395 MB / 1.027 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.8226, allocations: 193.2 kB / 1.027 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009461/0.8235, allocations: 252 kB / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.8339, allocations: 4.565 MB / 1.032 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.834, allocations: 7.938 kB / 1.032 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007274/0.8348, allocations: 104 kB / 1.032 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/0.835, allocations: 180.3 kB / 1.032 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007307/0.8423, allocations: 3.805 MB / 1.036 GB, free: 13.56 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/0.8673, allocations: 21.43 MB / 1.057 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.8699, allocations: 2.25 MB / 1.059 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.8709, allocations: 0.7186 MB / 1.06 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-05/0.871, allocations: 20.84 kB / 1.06 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.871, allocations: 42.5 kB / 1.06 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=62): time 2.264e-06/0.8711, allocations: 4 kB / 1.06 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.006094/0.8772, allocations: 4.182 MB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.8773, allocations: 248.3 kB / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.8787, allocations: 1.104 MB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.8788, allocations: 41.7 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/0.8795, allocations: 1.191 MB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.8797, allocations: 252.6 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.8798, allocations: 28 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.8799, allocations: 406.7 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009184/0.8808, allocations: 0.6948 MB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.8822, allocations: 1.399 MB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.8834, allocations: 0.9789 MB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.8834, allocations: 8 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003082/0.8865, allocations: 2.171 MB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005678/0.8871, allocations: 0.7905 MB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.8871, allocations: 24 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.836e-05/0.8872, allocations: 40 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.8885, allocations: 431.2 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.113e-05/0.8886, allocations: 47.86 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.8897, allocations: 187.4 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.8898, allocations: 83.98 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.8899, allocations: 4.781 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002348/0.8922, allocations: 1.844 MB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/0.8923, allocations: 28.06 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.8923, allocations: 36 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.8934, allocations: 391.3 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-05/0.8934, allocations: 55.75 kB / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/0.8943, allocations: 131.5 kB / 1.076 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/0.8944, allocations: 79.98 kB / 1.076 GB, free: 1.203 MB / 0.8262 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.00154/0.8959, allocations: 1.129 MB / 1.077 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/0.8963, allocations: 103.1 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.8979, allocations: 1.092 MB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.898, allocations: 15.98 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.898, allocations: 3.953 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.898, allocations: 7.984 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.9123, allocations: 10.17 MB / 1.089 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.9124, allocations: 20.25 kB / 1.089 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.913, allocations: 187.6 kB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.951e-05/0.913, allocations: 24 kB / 1.089 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/0.9131, allocations: 39.98 kB / 1.089 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.09e-05/0.9131, allocations: 23.94 kB / 1.089 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.8e-05/0.9132, allocations: 23.88 kB / 1.089 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.9154, allocations: 2.169 MB / 1.091 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006281/0.9161, allocations: 331.6 kB / 1.091 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.9162, allocations: 43.86 kB / 1.091 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009484/0.9172, allocations: 91.88 kB / 1.091 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.9173, allocations: 103.6 kB / 1.092 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.9174, allocations: 36 kB / 1.092 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001099/0.9185, allocations: 0.758 MB / 1.092 GB, free: 332 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9185, allocations: 0 / 1.092 GB, free: 332 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003033/0.9215, allocations: 0.7266 MB / 1.093 GB, free: 15.59 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.002464/0.924, allocations: 2.738 MB / 1.096 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.9277, allocations: 2.461 MB / 1.098 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.9277, allocations: 8.062 kB / 1.098 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008175/0.9286, allocations: 0.5685 MB / 1.099 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.9305, allocations: 228.5 kB / 1.099 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/0.9474, allocations: 10.57 MB / 1.109 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/0.9502, allocations: 2.011 MB / 1.111 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002147/0.9524, allocations: 0.8561 MB / 1.112 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.9535, allocations: 0.7297 MB / 1.113 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of SimCode: time 1.112e-06/0.9535, allocations: 0 / 1.113 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04965/1.003, allocations: 28.3 MB / 1.14 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/1.003, allocations: 229 kB / 1.141 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.339, allocations: 0 / 1.141 GB, free: 14.23 MB / 0.9044 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