Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001797/0.001797, allocations: 172.9 kB / 366.7 MB, free: 1.664 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.027/2.027, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009833/0.0009834, allocations: 84.33 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.119e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8359, allocations: 116.3 MB / 0.9734 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2654/1.101, allocations: 175.1 MB / 1.144 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/1.102, allocations: 98.77 kB / 1.144 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2411/1.343, allocations: 95.48 MB / 1.238 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.343, allocations: 0 / 1.238 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002036/1.343, allocations: 59.92 kB / 1.238 GB, free: 6.645 MB / 0.8386 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.007638/1.351, allocations: 2.182 MB / 1.24 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.351, allocations: 8.031 kB / 1.24 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/1.356, allocations: 0.7462 MB / 1.241 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/1.36, allocations: 1.461 MB / 1.242 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/1.36, allocations: 80 kB / 1.242 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009841/1.361, allocations: 148 kB / 1.242 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007413/1.368, allocations: 2.958 MB / 1.245 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/1.378, allocations: 3.782 MB / 1.249 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/1.378, allocations: 11.88 kB / 1.249 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006133/1.379, allocations: 4 kB / 1.249 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002732/1.379, allocations: 164.2 kB / 1.249 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7198/2.099, allocations: 20.69 MB / 1.269 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/2.1, allocations: 0.5072 MB / 1.27 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/2.101, allocations: 490.3 kB / 1.27 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/2.101, allocations: 17.06 kB / 1.27 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/2.101, allocations: 44.44 kB / 1.27 GB, free: 190 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=50): time 3.466e-06/2.101, allocations: 1 kB / 1.27 GB, free: 190 MB / 0.8542 GB Notification: Performance of matching and sorting (n=56): time 0.006039/2.107, allocations: 3.573 MB / 1.274 GB, free: 188 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/2.107, allocations: 241.2 kB / 1.274 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/2.109, allocations: 1.111 MB / 1.275 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/2.109, allocations: 26.77 kB / 1.275 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007848/2.11, allocations: 1.225 MB / 1.276 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/2.11, allocations: 208.8 kB / 1.276 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/2.11, allocations: 1.375 kB / 1.276 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001979/2.11, allocations: 405.6 kB / 1.277 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/2.112, allocations: 0.7324 MB / 1.278 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/2.113, allocations: 1.425 MB / 1.279 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/2.115, allocations: 1.103 MB / 1.28 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/2.115, allocations: 6.781 kB / 1.28 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00394/2.119, allocations: 2.214 MB / 1.282 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002391/2.121, allocations: 9.399 MB / 1.291 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.762e-05/2.121, allocations: 24.55 kB / 1.291 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.604e-05/2.122, allocations: 40.73 kB / 1.291 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/2.123, allocations: 447 kB / 1.292 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.827e-05/2.123, allocations: 48.67 kB / 1.292 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/2.126, allocations: 249.7 kB / 1.292 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/2.126, allocations: 88.42 kB / 1.292 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/2.126, allocations: 3.75 kB / 1.292 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003601/2.129, allocations: 1.858 MB / 1.294 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.372e-05/2.129, allocations: 26.84 kB / 1.294 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.76e-05/2.129, allocations: 40.52 kB / 1.294 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/2.131, allocations: 403.8 kB / 1.294 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.527e-05/2.131, allocations: 49.58 kB / 1.295 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/2.132, allocations: 157 kB / 1.295 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/2.132, allocations: 87.47 kB / 1.295 GB, free: 175.7 MB / 0.8542 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 () * 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.0004229/2.133, allocations: 167.8 kB / 1.295 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001806/2.135, allocations: 0.9301 MB / 1.296 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/2.135, allocations: 104.8 kB / 1.296 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/2.136, allocations: 0.8368 MB / 1.297 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/2.137, allocations: 7.719 kB / 1.297 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/2.137, allocations: 2.406 kB / 1.297 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/2.137, allocations: 9 kB / 1.297 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/2.149, allocations: 7.366 MB / 1.304 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/2.149, allocations: 11.72 kB / 1.304 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/2.15, allocations: 138.7 kB / 1.304 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.109e-05/2.15, allocations: 16.88 kB / 1.304 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.244e-05/2.15, allocations: 15.75 kB / 1.304 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.724e-05/2.15, allocations: 28.3 kB / 1.304 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-05/2.15, allocations: 16.09 kB / 1.304 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/2.153, allocations: 2.388 MB / 1.306 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/2.153, allocations: 336.5 kB / 1.307 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/2.153, allocations: 18.19 kB / 1.307 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/2.155, allocations: 106.6 kB / 1.307 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/2.155, allocations: 78.97 kB / 1.307 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/2.155, allocations: 32.64 kB / 1.307 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001403/2.156, allocations: 0.8381 MB / 1.308 GB, free: 172 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.442e-06/2.156, allocations: 0 / 1.308 GB, free: 172 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004344/2.161, allocations: 0.7525 MB / 1.309 GB, free: 172 MB / 0.8542 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 () * 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.003238/2.164, allocations: 6.448 MB / 1.315 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00453/2.168, allocations: 2.387 MB / 1.317 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/2.168, allocations: 1.344 kB / 1.317 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006927/2.169, allocations: 430.7 kB / 1.318 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/2.171, allocations: 209.3 kB / 1.318 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/2.181, allocations: 4.039 MB / 1.322 GB, free: 165 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/2.184, allocations: 2.036 MB / 1.324 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002959/2.187, allocations: 0.8634 MB / 1.325 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/2.188, allocations: 0.705 MB / 1.325 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.373e-06/2.188, allocations: 1.125 kB / 1.325 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06695/2.255, allocations: 27.78 MB / 1.352 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/2.255, allocations: 180.1 kB / 1.353 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/4.876, allocations: 5.344 kB / 1.353 GB, free: 162.5 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)