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.141/2.141, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001675/0.001674, allocations: 183.1 kB / 325.5 MB, free: 2.891 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.424/2.424, allocations: 205.4 MB / 0.5764 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001166, allocations: 106 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004894, allocations: 11.78 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2031, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/0.4749, allocations: 153.5 MB / 1.049 GB, free: 8.223 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004985/0.4755, allocations: 99.94 kB / 1.049 GB, free: 8.125 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7138/1.189, allocations: 14.24 MB / 1.063 GB, free: 152.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.903e-06/1.189, allocations: 0 / 1.063 GB, free: 152.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.005e-05/1.189, allocations: 7.141 kB / 1.063 GB, free: 152.8 MB / 0.698 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.000837/1.19, allocations: 491.1 kB / 1.063 GB, free: 152.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.19, allocations: 9.266 kB / 1.063 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.748e-05/1.19, allocations: 54.34 kB / 1.063 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.191, allocations: 81.38 kB / 1.063 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/1.192, allocations: 232.1 kB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.192, allocations: 15.78 kB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/1.192, allocations: 17.03 kB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/1.193, allocations: 314.1 kB / 1.064 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/1.193, allocations: 12.28 kB / 1.064 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/1.193, allocations: 6.312 kB / 1.064 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/1.193, allocations: 18.47 kB / 1.064 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/1.193, allocations: 251.9 kB / 1.064 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/1.196, allocations: 1.631 MB / 1.066 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.197, allocations: 413.4 kB / 1.066 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/1.197, allocations: 92.41 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/1.197, allocations: 39.56 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 3.316e-06/1.197, allocations: 0.9062 kB / 1.066 GB, free: 150.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001076/1.198, allocations: 307 kB / 1.067 GB, free: 150.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.198, allocations: 79.53 kB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/1.198, allocations: 156.4 kB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/1.198, allocations: 26.52 kB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/1.198, allocations: 154.6 kB / 1.067 GB, free: 149.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/1.199, allocations: 51.89 kB / 1.067 GB, free: 149.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/1.199, allocations: 0 / 1.067 GB, free: 149.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.756e-05/1.199, allocations: 325.5 kB / 1.067 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/1.199, allocations: 75.86 kB / 1.067 GB, free: 149.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/1.199, allocations: 151.1 kB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/1.199, allocations: 101.9 kB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.199, allocations: 4.75 kB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007244/1.2, allocations: 274.7 kB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002272/1.2, allocations: 0.9646 MB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.2, allocations: 3.312 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.2, allocations: 7.938 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/1.201, allocations: 49.17 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.201, allocations: 8.984 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/1.201, allocations: 15.58 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/1.201, allocations: 8.891 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.201, allocations: 4.453 kB / 1.069 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005861/1.202, allocations: 215 kB / 1.069 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.202, allocations: 2.531 kB / 1.069 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.202, allocations: 4.281 kB / 1.069 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/1.202, allocations: 54.45 kB / 1.069 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.202, allocations: 3.844 kB / 1.069 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/1.203, allocations: 19.92 kB / 1.069 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/1.203, allocations: 12.88 kB / 1.069 GB, free: 148.3 MB / 0.698 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 () * Number of clocked 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.0002327/1.203, allocations: 223.5 kB / 1.069 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/1.203, allocations: 15.34 kB / 1.069 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/1.204, allocations: 204.1 kB / 1.07 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/1.204, allocations: 3.016 kB / 1.07 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.204, allocations: 0.75 kB / 1.07 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.204, allocations: 5.25 kB / 1.07 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/1.206, allocations: 0.9708 MB / 1.071 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.206, allocations: 3.75 kB / 1.071 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/1.206, allocations: 35.72 kB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/1.206, allocations: 4.094 kB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/1.206, allocations: 9.781 kB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/1.206, allocations: 4.812 kB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.206, allocations: 3.875 kB / 1.071 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/1.207, allocations: 0.5765 MB / 1.071 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/1.207, allocations: 112 kB / 1.071 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/1.207, allocations: 9.859 kB / 1.071 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/1.207, allocations: 18.28 kB / 1.071 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/1.207, allocations: 23.27 kB / 1.071 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/1.207, allocations: 6.875 kB / 1.071 GB, free: 146.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001858/1.208, allocations: 131 kB / 1.072 GB, free: 146.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.208, allocations: 0 / 1.072 GB, free: 146.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008668/1.209, allocations: 92.33 kB / 1.072 GB, free: 146.7 MB / 0.698 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 () * Number of clocked 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.001159/1.21, allocations: 2.023 MB / 1.074 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008935/1.211, allocations: 298.1 kB / 1.074 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.211, allocations: 6.312 kB / 1.074 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/1.211, allocations: 84.17 kB / 1.074 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/1.212, allocations: 33.14 kB / 1.074 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/1.215, allocations: 2.744 MB / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/1.215, allocations: 0.7565 MB / 1.077 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004287/1.216, allocations: 74.64 kB / 1.077 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/1.216, allocations: 47.03 kB / 1.078 GB, free: 141.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/1.216, allocations: 0 / 1.078 GB, free: 141.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/1.246, allocations: 3.346 MB / 1.081 GB, free: 141.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/1.246, allocations: 213.6 kB / 1.081 GB, free: 141.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.7, allocations: 2.25 kB / 1.081 GB, free: 141.4 MB / 0.698 GB