Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.282/2.282, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001497/0.001496, allocations: 176.9 kB / 315.4 MB, free: 4 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.026/2.026, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001133/0.001133, allocations: 97.72 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.319e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1977, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8935/1.091, allocations: 153.7 MB / 1.034 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/1.092, allocations: 96.48 kB / 1.034 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06201/1.154, allocations: 14.11 MB / 1.048 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.851e-06/1.154, allocations: 8 kB / 1.048 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.496e-05/1.154, allocations: 4 kB / 1.048 GB, free: 6.934 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008004/1.155, allocations: 468.5 kB / 1.049 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.155, allocations: 8.031 kB / 1.049 GB, free: 6.434 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009671/1.156, allocations: 83.67 kB / 1.049 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/1.156, allocations: 240.7 kB / 1.049 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/1.156, allocations: 4 kB / 1.049 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/1.156, allocations: 19.5 kB / 1.049 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004828/1.157, allocations: 178.7 kB / 1.049 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/1.157, allocations: 284.5 kB / 1.049 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/1.157, allocations: 3.938 kB / 1.049 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/1.157, allocations: 8 kB / 1.049 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/1.157, allocations: 18.8 kB / 1.049 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/1.16, allocations: 1.577 MB / 1.051 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.161, allocations: 405.4 kB / 1.051 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/1.161, allocations: 86 kB / 1.051 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/1.161, allocations: 93.08 kB / 1.051 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.161, allocations: 38.06 kB / 1.051 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 2.876e-06/1.161, allocations: 0 / 1.051 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0009188/1.162, allocations: 258.6 kB / 1.052 GB, free: 3.223 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/1.162, allocations: 79.8 kB / 1.052 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/1.162, allocations: 149.1 kB / 1.052 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/1.162, allocations: 25.7 kB / 1.052 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/1.163, allocations: 148.4 kB / 1.052 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/1.163, allocations: 50.14 kB / 1.052 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/1.163, allocations: 0 / 1.052 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.163, allocations: 324.5 kB / 1.052 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/1.163, allocations: 66.59 kB / 1.053 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/1.163, allocations: 146.9 kB / 1.053 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/1.164, allocations: 110.2 kB / 1.053 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.164, allocations: 0 / 1.053 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007081/1.164, allocations: 267.5 kB / 1.053 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003835/1.165, allocations: 0.9671 MB / 1.054 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.165, allocations: 3.938 kB / 1.054 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.165, allocations: 4 kB / 1.054 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/1.165, allocations: 59.89 kB / 1.054 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.165, allocations: 7.938 kB / 1.054 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/1.165, allocations: 15.92 kB / 1.054 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/1.165, allocations: 15.8 kB / 1.054 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/1.166, allocations: 4 kB / 1.054 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006593/1.166, allocations: 193.2 kB / 1.054 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.166, allocations: 8.25 kB / 1.054 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/1.166, allocations: 8 kB / 1.054 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/1.167, allocations: 47.91 kB / 1.054 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/1.167, allocations: 7.984 kB / 1.054 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/1.167, allocations: 11.91 kB / 1.054 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/1.167, allocations: 15.11 kB / 1.054 GB, free: 0.6016 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0001125/1.167, allocations: 108.9 kB / 1.054 GB, free: 500 kB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005815/1.168, allocations: 191.5 kB / 1.055 GB, free: 336 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/1.168, allocations: 11.81 kB / 1.055 GB, free: 324 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/1.168, allocations: 206.9 kB / 1.055 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/1.168, allocations: 0 / 1.055 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.168, allocations: 4 kB / 1.055 GB, free: 144 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.168, allocations: 3.953 kB / 1.055 GB, free: 140 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/1.17, allocations: 0.9198 MB / 1.056 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.17, allocations: 4 kB / 1.056 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/1.17, allocations: 31.3 kB / 1.056 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/1.171, allocations: 4 kB / 1.056 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/1.171, allocations: 4 kB / 1.056 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/1.171, allocations: 15.92 kB / 1.056 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.171, allocations: 0 / 1.056 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/1.171, allocations: 0.5724 MB / 1.056 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/1.171, allocations: 115.5 kB / 1.056 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/1.172, allocations: 7.984 kB / 1.057 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/1.172, allocations: 7.984 kB / 1.057 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/1.172, allocations: 23.83 kB / 1.057 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/1.172, allocations: 11.98 kB / 1.057 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001475/1.172, allocations: 122.8 kB / 1.057 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/1.172, allocations: 0 / 1.057 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007343/1.173, allocations: 72 kB / 1.057 GB, free: 14.17 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001383/1.174, allocations: 2.019 MB / 1.059 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000676/1.175, allocations: 283.8 kB / 1.059 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.175, allocations: 7.938 kB / 1.059 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/1.175, allocations: 76.33 kB / 1.059 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/1.176, allocations: 31.48 kB / 1.059 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/1.177, allocations: 425.5 kB / 1.059 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.177, allocations: 0.75 MB / 1.06 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000415/1.178, allocations: 89.98 kB / 1.06 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/1.178, allocations: 46.36 kB / 1.06 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/1.178, allocations: 4 kB / 1.06 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0454/1.223, allocations: 3.032 MB / 1.063 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/1.224, allocations: 174.4 kB / 1.063 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.638, allocations: 3.938 kB / 1.063 GB, free: 7.258 MB / 0.6823 GB