Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 288.3 MB / 303.2 MB, free: 8.258 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.001215/0.001215, allocations: 177.6 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009951/0.0009953, allocations: 103.7 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 16.14 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.246, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7945/1.041, allocations: 172.5 MB / 1.148 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003961/1.041, allocations: 103.9 kB / 1.148 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2861/1.327, allocations: 105.3 MB / 1.251 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.743e-06/1.327, allocations: 0 / 1.251 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001601/1.327, allocations: 67.92 kB / 1.251 GB, free: 12.12 MB / 0.7761 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.01011/1.338, allocations: 2.533 MB / 1.253 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/1.338, allocations: 20.02 kB / 1.253 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/1.348, allocations: 1.007 MB / 1.254 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007191/1.355, allocations: 1.642 MB / 1.256 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/1.356, allocations: 222 kB / 1.256 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/1.357, allocations: 292 kB / 1.256 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/1.371, allocations: 4.797 MB / 1.261 GB, free: 1.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.218e-05/1.371, allocations: 11.88 kB / 1.261 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004368/1.372, allocations: 124 kB / 1.261 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002421/1.372, allocations: 193 kB / 1.261 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007678/1.38, allocations: 4.239 MB / 1.266 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02685/1.406, allocations: 23.11 MB / 1.288 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/1.411, allocations: 3.173 MB / 1.291 GB, free: 36 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/1.411, allocations: 105.7 kB / 1.291 GB, free: 15.91 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/1.411, allocations: 51.22 kB / 1.291 GB, free: 15.86 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 3.677e-06/1.411, allocations: 0 / 1.291 GB, free: 15.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=82): time 0.003148/1.414, allocations: 2.086 MB / 1.293 GB, free: 13.77 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/1.414, allocations: 222.2 kB / 1.294 GB, free: 13.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.415, allocations: 0.9959 MB / 1.295 GB, free: 12.49 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.993e-05/1.416, allocations: 41.89 kB / 1.295 GB, free: 12.45 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008229/1.416, allocations: 1.285 MB / 1.296 GB, free: 11.14 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.417, allocations: 299.9 kB / 1.296 GB, free: 10.84 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/1.417, allocations: 28 kB / 1.296 GB, free: 10.82 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.417, allocations: 410.7 kB / 1.297 GB, free: 10.41 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/1.418, allocations: 0.8861 MB / 1.298 GB, free: 9.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.42, allocations: 1.511 MB / 1.299 GB, free: 7.727 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/1.421, allocations: 1.182 MB / 1.3 GB, free: 6.543 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.421, allocations: 12 kB / 1.3 GB, free: 6.531 MB / 0.823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003535/1.425, allocations: 2.5 MB / 1.303 GB, free: 4.023 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002781/1.428, allocations: 7.499 MB / 1.31 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.392e-05/1.428, allocations: 20 kB / 1.31 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.906e-05/1.428, allocations: 32 kB / 1.31 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.429, allocations: 459.2 kB / 1.31 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.02e-05/1.43, allocations: 47.8 kB / 1.31 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.431, allocations: 341.9 kB / 1.311 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/1.431, allocations: 79.97 kB / 1.311 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.431, allocations: 5.25 kB / 1.311 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003007/1.434, allocations: 2.229 MB / 1.313 GB, free: 8.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/1.434, allocations: 28.64 kB / 1.313 GB, free: 8.719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.434, allocations: 28 kB / 1.313 GB, free: 8.691 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/1.436, allocations: 451.2 kB / 1.314 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-05/1.436, allocations: 39.86 kB / 1.314 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.437, allocations: 246.5 kB / 1.314 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.437, allocations: 79.98 kB / 1.314 GB, free: 7.891 MB / 0.8386 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.002288/1.439, allocations: 1.277 MB / 1.315 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/1.44, allocations: 98.88 kB / 1.315 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/1.442, allocations: 1.595 MB / 1.317 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.442, allocations: 8 kB / 1.317 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.442, allocations: 4 kB / 1.317 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.442, allocations: 11.88 kB / 1.317 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006766/1.449, allocations: 4.251 MB / 1.321 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.449, allocations: 0 / 1.321 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/1.45, allocations: 239.6 kB / 1.321 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/1.45, allocations: 8 kB / 1.321 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/1.45, allocations: 12 kB / 1.321 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.45, allocations: 4 kB / 1.321 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.45, allocations: 4 kB / 1.321 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/1.452, allocations: 2.007 MB / 1.323 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007224/1.453, allocations: 367.5 kB / 1.324 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.453, allocations: 16 kB / 1.324 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/1.454, allocations: 127.8 kB / 1.324 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.454, allocations: 52.58 kB / 1.324 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/1.454, allocations: 24 kB / 1.324 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001017/1.455, allocations: 0.7878 MB / 1.325 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.51e-07/1.455, allocations: 0 / 1.325 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003173/1.459, allocations: 1.364 MB / 1.326 GB, free: 11.47 MB / 0.8542 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.000211/1.459, allocations: 139 kB / 1.326 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00425/1.463, allocations: 2.995 MB / 1.329 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.463, allocations: 0.5 kB / 1.329 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.464, allocations: 0.6788 MB / 1.33 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.465, allocations: 166.2 kB / 1.33 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/1.473, allocations: 5.525 MB / 1.335 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/1.475, allocations: 2.259 MB / 1.337 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002575/1.478, allocations: 1.117 MB / 1.338 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/1.478, allocations: 91.41 kB / 1.338 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/1.478, allocations: 3.938 kB / 1.339 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of Templates: time 0.02703/1.505, allocations: 14.89 MB / 1.353 GB, free: 15.6 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)