Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 179.4 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 89.78 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.563e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2057, allocations: 106.2 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9119/1.118, allocations: 152.1 MB / 1.033 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/1.118, allocations: 98.05 kB / 1.033 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04971/1.168, allocations: 12.13 MB / 1.045 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.734e-06/1.168, allocations: 4 kB / 1.045 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.135e-05/1.168, allocations: 8 kB / 1.045 GB, free: 10.32 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008249/1.169, allocations: 452.6 kB / 1.045 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.169, allocations: 8.031 kB / 1.045 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008632/1.17, allocations: 71.73 kB / 1.045 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/1.17, allocations: 234.9 kB / 1.045 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/1.17, allocations: 4 kB / 1.045 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/1.17, allocations: 8 kB / 1.045 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004676/1.171, allocations: 157.8 kB / 1.046 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/1.171, allocations: 256.5 kB / 1.046 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.171, allocations: 0 / 1.046 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/1.171, allocations: 0 / 1.046 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/1.171, allocations: 20.16 kB / 1.046 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/1.174, allocations: 1.542 MB / 1.047 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/1.174, allocations: 76.06 kB / 1.047 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/1.174, allocations: 44 kB / 1.047 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/1.174, allocations: 0 / 1.047 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.174, allocations: 37.94 kB / 1.047 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.174, allocations: 0 / 1.047 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0006246/1.175, allocations: 174.2 kB / 1.048 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/1.175, allocations: 81.11 kB / 1.048 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/1.175, allocations: 186.9 kB / 1.048 GB, free: 7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/1.175, allocations: 25.7 kB / 1.048 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/1.176, allocations: 169 kB / 1.048 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/1.176, allocations: 27.12 kB / 1.048 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/1.176, allocations: 0 / 1.048 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.176, allocations: 322.1 kB / 1.048 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/1.176, allocations: 72.12 kB / 1.048 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/1.176, allocations: 160.7 kB / 1.049 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/1.177, allocations: 93.62 kB / 1.049 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.177, allocations: 4 kB / 1.049 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007001/1.177, allocations: 264.6 kB / 1.049 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006366/1.178, allocations: 1.146 MB / 1.05 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.178, allocations: 0 / 1.05 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.178, allocations: 8 kB / 1.05 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/1.179, allocations: 47.91 kB / 1.05 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/1.179, allocations: 7.984 kB / 1.05 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/1.179, allocations: 23.91 kB / 1.05 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/1.179, allocations: 8 kB / 1.05 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.179, allocations: 4 kB / 1.05 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006235/1.18, allocations: 195.3 kB / 1.05 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.18, allocations: 4 kB / 1.05 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/1.18, allocations: 4 kB / 1.05 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/1.18, allocations: 51.28 kB / 1.05 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.18, allocations: 7.938 kB / 1.05 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/1.18, allocations: 19.84 kB / 1.05 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/1.18, allocations: 8.375 kB / 1.05 GB, free: 4.422 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001244/1.18, allocations: 116.9 kB / 1.051 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003114/1.181, allocations: 118.9 kB / 1.051 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/1.181, allocations: 15.94 kB / 1.051 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/1.181, allocations: 112 kB / 1.051 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/1.181, allocations: 7.953 kB / 1.051 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.181, allocations: 0 / 1.051 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/1.181, allocations: 3.984 kB / 1.051 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/1.182, allocations: 0.5748 MB / 1.051 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/1.182, allocations: 7.953 kB / 1.051 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/1.182, allocations: 19.92 kB / 1.051 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/1.183, allocations: 4 kB / 1.051 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/1.183, allocations: 8.25 kB / 1.051 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.183, allocations: 0 / 1.051 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/1.183, allocations: 4 kB / 1.051 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/1.183, allocations: 404.5 kB / 1.052 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/1.183, allocations: 108.7 kB / 1.052 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/1.183, allocations: 4 kB / 1.052 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/1.184, allocations: 7.984 kB / 1.052 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/1.184, allocations: 7.984 kB / 1.052 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/1.184, allocations: 11.31 kB / 1.052 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002085/1.184, allocations: 152.7 kB / 1.052 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.1e-07/1.184, allocations: 4 kB / 1.052 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007869/1.185, allocations: 83.88 kB / 1.052 GB, free: 2.637 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001083/1.186, allocations: 1.424 MB / 1.054 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000665/1.186, allocations: 252 kB / 1.054 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.186, allocations: 0 / 1.054 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/1.187, allocations: 40.73 kB / 1.054 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/1.187, allocations: 32.61 kB / 1.054 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/1.188, allocations: 330.2 kB / 1.054 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/1.189, allocations: 0.743 MB / 1.055 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003946/1.189, allocations: 69.78 kB / 1.055 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.189, allocations: 42.73 kB / 1.055 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of SimCode: time 1.283e-06/1.189, allocations: 0 / 1.055 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/1.233, allocations: 2.931 MB / 1.058 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003524/1.233, allocations: 178.2 kB / 1.058 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.656, allocations: 0 / 1.058 GB, free: 12.62 MB / 0.6823 GB