Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001314/0.001314, allocations: 180.6 kB / 377.1 MB, free: 1.543 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.802/1.802, allocations: 205.4 MB / 0.6367 GB, free: 8.504 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008951/0.0008951, allocations: 92.55 kB / 0.751 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000531/0.0005309, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3322, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6591/0.9913, allocations: 173.5 MB / 1.158 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.9916, allocations: 106.7 kB / 1.158 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2498/1.241, allocations: 105.3 MB / 1.261 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.404e-06/1.242, allocations: 0 / 1.261 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001283/1.242, allocations: 68.11 kB / 1.261 GB, free: 14.65 MB / 0.8386 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.007246/1.249, allocations: 2.537 MB / 1.263 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.249, allocations: 8.031 kB / 1.263 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/1.255, allocations: 1.003 MB / 1.264 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004748/1.26, allocations: 1.649 MB / 1.266 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/1.26, allocations: 230 kB / 1.266 GB, free: 9.125 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/1.261, allocations: 288 kB / 1.266 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/1.272, allocations: 4.802 MB / 1.271 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/1.272, allocations: 0 / 1.271 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/1.273, allocations: 128 kB / 1.271 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002376/1.273, allocations: 193 kB / 1.271 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009732/1.283, allocations: 4.229 MB / 1.276 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03419/1.317, allocations: 23.12 MB / 1.298 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004799/1.322, allocations: 3.176 MB / 1.301 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/1.322, allocations: 101.7 kB / 1.301 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/1.322, allocations: 51.16 kB / 1.301 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 4.629e-06/1.322, allocations: 0 / 1.301 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82): time 0.004152/1.326, allocations: 2.086 MB / 1.303 GB, free: 324 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.326, allocations: 226.2 kB / 1.304 GB, free: 48 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/1.328, allocations: 0.9959 MB / 1.305 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.328, allocations: 37.7 kB / 1.305 GB, free: 15 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009514/1.329, allocations: 1.285 MB / 1.306 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/1.33, allocations: 299.9 kB / 1.306 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.33, allocations: 32 kB / 1.306 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002946/1.33, allocations: 410.7 kB / 1.307 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/1.332, allocations: 0.8861 MB / 1.307 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/1.334, allocations: 1.507 MB / 1.309 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/1.336, allocations: 1.186 MB / 1.31 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/1.336, allocations: 7.938 kB / 1.31 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004388/1.34, allocations: 2.5 MB / 1.312 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.003446/1.344, allocations: 7.499 MB / 1.32 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.454e-05/1.344, allocations: 20 kB / 1.32 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.138e-05/1.344, allocations: 32 kB / 1.32 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/1.346, allocations: 463.2 kB / 1.32 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.404e-05/1.346, allocations: 39.86 kB / 1.32 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/1.348, allocations: 345.9 kB / 1.321 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/1.348, allocations: 83.97 kB / 1.321 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.348, allocations: 4 kB / 1.321 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003947/1.352, allocations: 2.23 MB / 1.323 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.721e-05/1.352, allocations: 20 kB / 1.323 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.689e-05/1.352, allocations: 35.94 kB / 1.323 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/1.354, allocations: 439.2 kB / 1.323 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.931e-05/1.354, allocations: 47.83 kB / 1.323 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.355, allocations: 254.9 kB / 1.324 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/1.356, allocations: 75.98 kB / 1.324 GB, free: 10.44 MB / 0.9011 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.002417/1.358, allocations: 1.277 MB / 1.325 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/1.358, allocations: 98.88 kB / 1.325 GB, free: 9.055 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/1.361, allocations: 1.591 MB / 1.327 GB, free: 7.441 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.361, allocations: 12 kB / 1.327 GB, free: 7.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/1.361, allocations: 4 kB / 1.327 GB, free: 7.426 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.361, allocations: 7.938 kB / 1.327 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008657/1.37, allocations: 4.251 MB / 1.331 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.37, allocations: 7.938 kB / 1.331 GB, free: 3.094 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/1.371, allocations: 243.6 kB / 1.331 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/1.371, allocations: 7.938 kB / 1.331 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/1.371, allocations: 12 kB / 1.331 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-06/1.371, allocations: 4 kB / 1.331 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.371, allocations: 4 kB / 1.331 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/1.374, allocations: 2.007 MB / 1.333 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008533/1.374, allocations: 363.5 kB / 1.333 GB, free: 396 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/1.375, allocations: 20 kB / 1.333 GB, free: 376 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.376, allocations: 123.8 kB / 1.334 GB, free: 252 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.376, allocations: 52.58 kB / 1.334 GB, free: 200 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/1.376, allocations: 24 kB / 1.334 GB, free: 176 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001356/1.377, allocations: 0.7839 MB / 1.334 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.81e-07/1.377, allocations: 0 / 1.334 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004774/1.382, allocations: 1.36 MB / 1.336 GB, free: 14.02 MB / 0.9167 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.0002953/1.382, allocations: 139 kB / 1.336 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005114/1.387, allocations: 3.005 MB / 1.339 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.388, allocations: 0 / 1.339 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009889/1.389, allocations: 0.6687 MB / 1.339 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.39, allocations: 172.4 kB / 1.34 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.401, allocations: 5.537 MB / 1.345 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003374/1.404, allocations: 2.251 MB / 1.347 GB, free: 2.176 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003162/1.407, allocations: 1.109 MB / 1.348 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/1.408, allocations: 95.41 kB / 1.348 GB, free: 0.9688 MB / 0.9167 GB Notification: Performance of SimCode: time 1.293e-06/1.408, allocations: 0 / 1.348 GB, free: 0.9688 MB / 0.9167 GB Notification: Performance of Templates: time 0.03059/1.439, allocations: 14.89 MB / 1.363 GB, free: 2.16 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)