Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.744/2.744, allocations: 287.5 MB / 303.2 MB, free: 8.246 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.001245/0.001245, allocations: 177.4 kB / 371.8 MB, free: 10.82 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.067/2.067, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0009245/0.0009241, allocations: 96.09 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006622/0.0006624, allocations: 10.38 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2212, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9605/1.182, allocations: 159.8 MB / 1.135 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/1.182, allocations: 111.7 kB / 1.135 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05131/1.233, allocations: 14.27 MB / 1.149 GB, free: 25.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.846e-06/1.234, allocations: 3.875 kB / 1.149 GB, free: 25.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.86e-05/1.234, allocations: 3.938 kB / 1.149 GB, free: 25.66 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.0008516/1.234, allocations: 486.5 kB / 1.15 GB, free: 25.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.234, allocations: 7.688 kB / 1.15 GB, free: 25.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009862/1.235, allocations: 82.22 kB / 1.15 GB, free: 25.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/1.236, allocations: 237.4 kB / 1.15 GB, free: 24.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/1.236, allocations: 8.484 kB / 1.15 GB, free: 24.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/1.236, allocations: 23.48 kB / 1.15 GB, free: 24.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/1.237, allocations: 314.3 kB / 1.151 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/1.237, allocations: 192 / 1.151 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/1.237, allocations: 19.19 kB / 1.151 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/1.237, allocations: 22.67 kB / 1.151 GB, free: 24.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/1.237, allocations: 248.9 kB / 1.151 GB, free: 24.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/1.239, allocations: 1.623 MB / 1.152 GB, free: 23.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/1.24, allocations: 417.2 kB / 1.153 GB, free: 22.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/1.241, allocations: 86.42 kB / 1.153 GB, free: 22.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/1.241, allocations: 92.97 kB / 1.153 GB, free: 22.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.241, allocations: 38 kB / 1.153 GB, free: 22.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/1.241, allocations: 0 / 1.153 GB, free: 22.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0009152/1.242, allocations: 306 kB / 1.153 GB, free: 22.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/1.242, allocations: 85.02 kB / 1.153 GB, free: 22.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/1.242, allocations: 167.1 kB / 1.154 GB, free: 22.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/1.242, allocations: 28.39 kB / 1.154 GB, free: 22.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/1.242, allocations: 157.5 kB / 1.154 GB, free: 22.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/1.242, allocations: 49.58 kB / 1.154 GB, free: 22.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/1.242, allocations: 3.562 kB / 1.154 GB, free: 22.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.243, allocations: 326.2 kB / 1.154 GB, free: 21.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/1.243, allocations: 76.08 kB / 1.154 GB, free: 21.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/1.243, allocations: 151.9 kB / 1.154 GB, free: 21.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/1.243, allocations: 244.9 kB / 1.155 GB, free: 21.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.243, allocations: 3.844 kB / 1.155 GB, free: 21.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005808/1.244, allocations: 269.9 kB / 1.155 GB, free: 21.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.244, allocations: 160.8 kB / 1.155 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.244, allocations: 3.719 kB / 1.155 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.244, allocations: 3.719 kB / 1.155 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/1.245, allocations: 56.64 kB / 1.155 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.245, allocations: 3.844 kB / 1.155 GB, free: 21.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/1.245, allocations: 18.45 kB / 1.155 GB, free: 21.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/1.245, allocations: 10.41 kB / 1.155 GB, free: 21.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/1.245, allocations: 4.031 kB / 1.155 GB, free: 21.42 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004315/1.245, allocations: 211.5 kB / 1.155 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.245, allocations: 5.125 kB / 1.155 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-06/1.245, allocations: 4 kB / 1.155 GB, free: 21.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/1.246, allocations: 52.22 kB / 1.155 GB, free: 21.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.246, allocations: 8 kB / 1.155 GB, free: 21.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/1.246, allocations: 19.2 kB / 1.155 GB, free: 21.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/1.246, allocations: 11.94 kB / 1.155 GB, free: 21.29 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.0002484/1.246, allocations: 226.5 kB / 1.156 GB, free: 21.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/1.246, allocations: 11.91 kB / 1.156 GB, free: 21.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/1.247, allocations: 213.8 kB / 1.156 GB, free: 20.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.247, allocations: 4 kB / 1.156 GB, free: 20.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.247, allocations: 0 / 1.156 GB, free: 20.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.247, allocations: 3.938 kB / 1.156 GB, free: 20.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/1.249, allocations: 0.9615 MB / 1.157 GB, free: 19.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.249, allocations: 4 kB / 1.157 GB, free: 19.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/1.249, allocations: 40.03 kB / 1.157 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/1.249, allocations: 8 kB / 1.157 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/1.249, allocations: 4 kB / 1.157 GB, free: 19.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.249, allocations: 7.984 kB / 1.157 GB, free: 19.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.249, allocations: 7.938 kB / 1.157 GB, free: 19.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/1.25, allocations: 440.4 kB / 1.157 GB, free: 19.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/1.25, allocations: 104.8 kB / 1.157 GB, free: 19.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/1.25, allocations: 4 kB / 1.157 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/1.25, allocations: 15.92 kB / 1.157 GB, free: 19.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/1.25, allocations: 19.86 kB / 1.157 GB, free: 19.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.25, allocations: 11.88 kB / 1.157 GB, free: 19.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001499/1.25, allocations: 139.2 kB / 1.157 GB, free: 19.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.25, allocations: 0 / 1.157 GB, free: 19.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007637/1.251, allocations: 82.81 kB / 1.158 GB, free: 19.07 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.0001957/1.251, allocations: 129.7 kB / 1.158 GB, free: 18.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006686/1.252, allocations: 295 kB / 1.158 GB, free: 18.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.252, allocations: 0 / 1.158 GB, free: 18.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/1.252, allocations: 84.7 kB / 1.158 GB, free: 18.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/1.253, allocations: 35.78 kB / 1.158 GB, free: 18.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/1.254, allocations: 0.5685 MB / 1.159 GB, free: 18.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/1.254, allocations: 0.7461 MB / 1.159 GB, free: 17.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00037/1.255, allocations: 81.5 kB / 1.159 GB, free: 17.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/1.255, allocations: 19.42 kB / 1.159 GB, free: 17.18 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.255, allocations: 4 kB / 1.159 GB, free: 17.17 MB / 0.698 GB Notification: Performance of Templates: time 0.006082/1.261, allocations: 1.678 MB / 1.161 GB, free: 15.53 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)