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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.196/2.196, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001354/0.001354, allocations: 172 kB / 326.2 MB, free: 2.867 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.398/2.398, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009263/0.0009259, allocations: 87.86 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006376/0.0006379, allocations: 10.38 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2149, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.4909, allocations: 153.5 MB / 1.049 GB, free: 7.812 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005552/0.4915, allocations: 99.94 kB / 1.05 GB, free: 7.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6652/1.157, allocations: 14.27 MB / 1.063 GB, free: 152.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/1.157, allocations: 0.6562 kB / 1.063 GB, free: 152.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.212e-05/1.157, allocations: 3.312 kB / 1.063 GB, free: 152.6 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.0009532/1.158, allocations: 484 kB / 1.064 GB, free: 152.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.158, allocations: 9 kB / 1.064 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.159, allocations: 77.66 kB / 1.064 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/1.159, allocations: 238.5 kB / 1.064 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/1.159, allocations: 14.3 kB / 1.064 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/1.159, allocations: 12.34 kB / 1.064 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/1.16, allocations: 319.3 kB / 1.065 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.16, allocations: 4.188 kB / 1.065 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/1.16, allocations: 14.5 kB / 1.065 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/1.16, allocations: 18.02 kB / 1.065 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/1.161, allocations: 248.3 kB / 1.065 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/1.163, allocations: 1.633 MB / 1.066 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.164, allocations: 414.2 kB / 1.067 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/1.164, allocations: 89.84 kB / 1.067 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/1.165, allocations: 90.91 kB / 1.067 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.165, allocations: 35.94 kB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 3.527e-06/1.165, allocations: 3.75 kB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001104/1.166, allocations: 303.8 kB / 1.067 GB, free: 150.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/1.166, allocations: 83.56 kB / 1.067 GB, free: 150 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/1.166, allocations: 169.4 kB / 1.068 GB, free: 149.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.166, allocations: 34.45 kB / 1.068 GB, free: 149.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/1.166, allocations: 148.5 kB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/1.166, allocations: 46.27 kB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/1.166, allocations: 4.75 kB / 1.068 GB, free: 149.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/1.167, allocations: 329.1 kB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/1.167, allocations: 76.8 kB / 1.068 GB, free: 149.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/1.167, allocations: 149.9 kB / 1.068 GB, free: 149.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/1.167, allocations: 105.3 kB / 1.068 GB, free: 149.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.167, allocations: 0.8125 kB / 1.068 GB, free: 149.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007527/1.168, allocations: 272.6 kB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-05/1.168, allocations: 166.4 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.168, allocations: 3.047 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/1.168, allocations: 4.156 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/1.169, allocations: 53.19 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/1.169, allocations: 4.516 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/1.169, allocations: 20.14 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/1.169, allocations: 8.672 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.169, allocations: 5.75 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005447/1.17, allocations: 212.8 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.17, allocations: 2 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/1.17, allocations: 5.25 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/1.17, allocations: 55.3 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.17, allocations: 4.281 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/1.17, allocations: 15.08 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/1.17, allocations: 16.31 kB / 1.069 GB, free: 149 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.0002243/1.171, allocations: 230.9 kB / 1.069 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/1.171, allocations: 11.61 kB / 1.069 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/1.171, allocations: 208 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.171, allocations: 2.391 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.171, allocations: 0.75 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/1.171, allocations: 5.562 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/1.173, allocations: 0.9684 MB / 1.071 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.173, allocations: 3.438 kB / 1.071 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/1.174, allocations: 35.44 kB / 1.071 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.174, allocations: 3.906 kB / 1.071 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/1.174, allocations: 4.844 kB / 1.071 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.274e-05/1.174, allocations: 5.641 kB / 1.071 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.174, allocations: 7.031 kB / 1.071 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/1.174, allocations: 441.4 kB / 1.071 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/1.174, allocations: 108.8 kB / 1.071 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/1.175, allocations: 9.312 kB / 1.071 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/1.175, allocations: 12.58 kB / 1.071 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/1.175, allocations: 25.81 kB / 1.071 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/1.175, allocations: 7.438 kB / 1.071 GB, free: 147.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001674/1.175, allocations: 132.1 kB / 1.071 GB, free: 147.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.175, allocations: 0 / 1.071 GB, free: 147.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007888/1.176, allocations: 88.88 kB / 1.071 GB, free: 147.6 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.0001942/1.176, allocations: 130.4 kB / 1.072 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008057/1.177, allocations: 296.3 kB / 1.072 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.177, allocations: 1.25 kB / 1.072 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/1.177, allocations: 88.31 kB / 1.072 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/1.178, allocations: 40.44 kB / 1.072 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/1.179, allocations: 0.5626 MB / 1.073 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/1.18, allocations: 0.7493 MB / 1.073 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004144/1.18, allocations: 82.8 kB / 1.073 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.058e-05/1.18, allocations: 17.12 kB / 1.073 GB, free: 146.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.18, allocations: 0 / 1.073 GB, free: 146.4 MB / 0.698 GB Notification: Performance of Templates: time 0.006888/1.187, allocations: 1.673 MB / 1.075 GB, free: 146.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)