Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.853/2.853, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002316/0.002316, allocations: 188.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 90.92 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000721/0.0007213, allocations: 16.33 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2342, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9749/1.209, allocations: 174.7 MB / 1.149 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/1.21, allocations: 102.2 kB / 1.149 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4393/1.649, allocations: 96.33 MB / 1.243 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.287e-06/1.649, allocations: 0 / 1.243 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002417/1.649, allocations: 67.92 kB / 1.243 GB, free: 4.059 MB / 0.7605 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.01138/1.661, allocations: 2.257 MB / 1.245 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/1.661, allocations: 12.03 kB / 1.245 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002028/1.663, allocations: 399.5 kB / 1.246 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007556/1.67, allocations: 0.7384 MB / 1.246 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005344/1.676, allocations: 1.469 MB / 1.248 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/1.676, allocations: 189.2 kB / 1.248 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/1.678, allocations: 251.8 kB / 1.248 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/1.693, allocations: 4.194 MB / 1.252 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/1.693, allocations: 11.94 kB / 1.252 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008061/1.694, allocations: 104 kB / 1.252 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003394/1.694, allocations: 156.3 kB / 1.253 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/1.706, allocations: 3.461 MB / 1.256 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04186/1.748, allocations: 21.52 MB / 1.277 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/1.749, allocations: 0.5238 MB / 1.278 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.852e-05/1.749, allocations: 12.75 kB / 1.278 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/1.749, allocations: 54.45 kB / 1.278 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=50): time 3.667e-06/1.749, allocations: 0 / 1.278 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=56): time 0.01011/1.759, allocations: 3.995 MB / 1.281 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/1.76, allocations: 243.3 kB / 1.282 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/1.763, allocations: 1.202 MB / 1.283 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/1.763, allocations: 37.7 kB / 1.283 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/1.764, allocations: 1.234 MB / 1.284 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/1.765, allocations: 213.2 kB / 1.284 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/1.765, allocations: 36 kB / 1.284 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003259/1.765, allocations: 402.7 kB / 1.285 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/1.767, allocations: 0.7806 MB / 1.286 GB, free: 6.129 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002982/1.77, allocations: 1.469 MB / 1.287 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/1.773, allocations: 1.065 MB / 1.288 GB, free: 3.266 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/1.773, allocations: 8 kB / 1.288 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006995/1.78, allocations: 2.336 MB / 1.29 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004371/1.785, allocations: 9.392 MB / 1.299 GB, free: 6.785 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.131e-05/1.785, allocations: 28.22 kB / 1.299 GB, free: 6.758 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.268e-05/1.785, allocations: 36 kB / 1.3 GB, free: 6.723 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/1.789, allocations: 447.2 kB / 1.3 GB, free: 6.285 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.709e-05/1.789, allocations: 43.86 kB / 1.3 GB, free: 6.242 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003305/1.792, allocations: 279.3 kB / 1.3 GB, free: 5.969 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/1.792, allocations: 87.97 kB / 1.3 GB, free: 5.883 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.792, allocations: 5.875 kB / 1.3 GB, free: 5.879 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005459/1.798, allocations: 2.008 MB / 1.302 GB, free: 3.871 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.286e-05/1.798, allocations: 24 kB / 1.302 GB, free: 3.848 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.677e-05/1.798, allocations: 39.98 kB / 1.302 GB, free: 3.809 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/1.801, allocations: 407.4 kB / 1.303 GB, free: 3.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.709e-05/1.801, allocations: 51.78 kB / 1.303 GB, free: 3.359 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/1.803, allocations: 175.5 kB / 1.303 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/1.804, allocations: 79.98 kB / 1.303 GB, free: 3.109 MB / 0.823 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.002829/1.806, allocations: 1.132 MB / 1.304 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/1.807, allocations: 110.7 kB / 1.304 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/1.809, allocations: 0.8752 MB / 1.305 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.809, allocations: 8 kB / 1.305 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.809, allocations: 4 kB / 1.305 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/1.809, allocations: 3.984 kB / 1.305 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/1.828, allocations: 8.13 MB / 1.313 GB, free: 8.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/1.828, allocations: 12 kB / 1.313 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.829, allocations: 135.8 kB / 1.313 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-05/1.829, allocations: 23.98 kB / 1.313 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/1.83, allocations: 20 kB / 1.313 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.235e-05/1.83, allocations: 23.88 kB / 1.313 GB, free: 8.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.84e-05/1.83, allocations: 19.88 kB / 1.313 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/1.833, allocations: 2.447 MB / 1.316 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.834, allocations: 343.5 kB / 1.316 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/1.835, allocations: 31.98 kB / 1.316 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/1.837, allocations: 111.8 kB / 1.316 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/1.837, allocations: 71.73 kB / 1.316 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/1.837, allocations: 32 kB / 1.316 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002442/1.839, allocations: 0.9237 MB / 1.317 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.81e-07/1.839, allocations: 0 / 1.317 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005303/1.845, allocations: 0.8163 MB / 1.318 GB, free: 3.16 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (56): * Single equations (assignments): 56 * 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.005505/1.85, allocations: 6.517 MB / 1.324 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006793/1.857, allocations: 2.541 MB / 1.327 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.042e-05/1.857, allocations: 4 kB / 1.327 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.859, allocations: 450.4 kB / 1.327 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/1.861, allocations: 212.6 kB / 1.327 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/1.896, allocations: 26.52 MB / 1.353 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004027/1.9, allocations: 2.038 MB / 1.355 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003898/1.904, allocations: 0.8052 MB / 1.356 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/1.906, allocations: 0.718 MB / 1.357 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of SimCode: time 9.52e-07/1.906, allocations: 0 / 1.357 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08904/1.995, allocations: 27.82 MB / 1.384 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003572/1.995, allocations: 221.2 kB / 1.384 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/5.249, allocations: 3.234 kB / 1.384 GB, free: 14.36 MB / 0.9167 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)