Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 252 MB / 267.9 MB, free: 10.93 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.0009546/0.0009546, allocations: 174.7 kB / 327.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0008396/0.0008396, allocations: 91.77 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.000394, allocations: 12.59 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6169/0.8124, allocations: 166.3 MB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/0.8128, allocations: 107.6 kB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2157/1.029, allocations: 105.4 MB / 1.167 GB, free: 65.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.714e-06/1.029, allocations: 4 kB / 1.167 GB, free: 65.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001172/1.029, allocations: 64 kB / 1.167 GB, free: 65.02 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.006297/1.035, allocations: 2.498 MB / 1.169 GB, free: 62.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/1.035, allocations: 16.02 kB / 1.169 GB, free: 62.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005096/1.04, allocations: 1.016 MB / 1.17 GB, free: 61.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/1.043, allocations: 1.659 MB / 1.172 GB, free: 59.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/1.043, allocations: 226.3 kB / 1.172 GB, free: 59.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008057/1.044, allocations: 292.4 kB / 1.172 GB, free: 59.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00672/1.051, allocations: 4.832 MB / 1.177 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/1.051, allocations: 4.188 kB / 1.177 GB, free: 54.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/1.051, allocations: 123.9 kB / 1.177 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/1.051, allocations: 189.1 kB / 1.177 GB, free: 53.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005419/1.057, allocations: 4.234 MB / 1.181 GB, free: 49.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/1.076, allocations: 23.12 MB / 1.204 GB, free: 24.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/1.079, allocations: 3.176 MB / 1.207 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009676/1.08, allocations: 0.9133 MB / 1.208 GB, free: 19.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/1.08, allocations: 109.7 kB / 1.208 GB, free: 19.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/1.08, allocations: 51.16 kB / 1.208 GB, free: 19.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.025e-06/1.08, allocations: 0 / 1.208 GB, free: 19.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002458/1.083, allocations: 2.066 MB / 1.21 GB, free: 17.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/1.083, allocations: 222.2 kB / 1.21 GB, free: 17.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/1.084, allocations: 1.087 MB / 1.211 GB, free: 16.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.373e-05/1.084, allocations: 41.7 kB / 1.212 GB, free: 16.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004778/1.084, allocations: 1.288 MB / 1.213 GB, free: 15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/1.084, allocations: 299.9 kB / 1.213 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/1.085, allocations: 32 kB / 1.213 GB, free: 14.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.085, allocations: 410.7 kB / 1.213 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009636/1.086, allocations: 0.8705 MB / 1.214 GB, free: 13.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/1.087, allocations: 1.507 MB / 1.216 GB, free: 11.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/1.089, allocations: 2.354 MB / 1.218 GB, free: 8.988 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/1.089, allocations: 4 kB / 1.218 GB, free: 8.984 MB / 0.698 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002813/1.092, allocations: 2.473 MB / 1.221 GB, free: 6.504 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002284/1.092, allocations: 0.6425 MB / 1.221 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.092, allocations: 16 kB / 1.221 GB, free: 5.578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/1.092, allocations: 28 kB / 1.221 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.093, allocations: 471.2 kB / 1.222 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/1.094, allocations: 43.8 kB / 1.222 GB, free: 5.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/1.095, allocations: 349.9 kB / 1.222 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.095, allocations: 75.98 kB / 1.222 GB, free: 4.629 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/1.095, allocations: 4 kB / 1.222 GB, free: 4.625 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002339/1.097, allocations: 2.21 MB / 1.224 GB, free: 2.414 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.097, allocations: 20 kB / 1.224 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.097, allocations: 28.59 kB / 1.224 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.098, allocations: 447.2 kB / 1.225 GB, free: 1.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/1.098, allocations: 39.86 kB / 1.225 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008935/1.099, allocations: 254.6 kB / 1.225 GB, free: 1.641 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/1.099, allocations: 75.98 kB / 1.225 GB, free: 1.566 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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.001782/1.101, allocations: 1.285 MB / 1.226 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/1.102, allocations: 98.78 kB / 1.226 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/1.104, allocations: 1.568 MB / 1.228 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/1.104, allocations: 8 kB / 1.228 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.104, allocations: 4 kB / 1.228 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.104, allocations: 3.984 kB / 1.228 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006069/1.11, allocations: 4.494 MB / 1.232 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.11, allocations: 0 / 1.232 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/1.111, allocations: 235.6 kB / 1.233 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/1.111, allocations: 4 kB / 1.233 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/1.111, allocations: 16 kB / 1.233 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.111, allocations: 8 kB / 1.233 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.111, allocations: 4 kB / 1.233 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/1.113, allocations: 1.919 MB / 1.234 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004832/1.113, allocations: 355.6 kB / 1.235 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.113, allocations: 16 kB / 1.235 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008115/1.114, allocations: 131.8 kB / 1.235 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.114, allocations: 56.45 kB / 1.235 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/1.114, allocations: 24 kB / 1.235 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000889/1.115, allocations: 0.7839 MB / 1.236 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.115, allocations: 0 / 1.236 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002764/1.118, allocations: 1.36 MB / 1.237 GB, free: 5.016 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.0001983/1.118, allocations: 139.1 kB / 1.237 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003793/1.122, allocations: 2.964 MB / 1.24 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.122, allocations: 0 / 1.24 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008234/1.123, allocations: 0.6638 MB / 1.241 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/1.124, allocations: 183.1 kB / 1.241 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/1.131, allocations: 5.541 MB / 1.246 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/1.134, allocations: 2.21 MB / 1.249 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002598/1.136, allocations: 1.097 MB / 1.25 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/1.136, allocations: 91.42 kB / 1.25 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of SimCode: time 8.01e-07/1.136, allocations: 0 / 1.25 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of Templates: time 0.02506/1.162, allocations: 15.13 MB / 1.264 GB, free: 9.012 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)