Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.918/1.918, allocations: 287.5 MB / 302.6 MB, free: 8.301 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.001121/0.001122, allocations: 182.1 kB / 371.2 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 1.631/1.631, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007315/0.0007314, allocations: 101 kB / 0.7432 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004244, allocations: 15.23 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2272, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01309/0.2403, allocations: 15.61 MB / 0.9939 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007597/0.248, allocations: 5.575 MB / 0.9994 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.2494, allocations: 43.88 kB / 0.9994 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.2504, allocations: 317.7 kB / 0.9997 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.2523, allocations: 0.638 MB / 1 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.2543, allocations: 0.6887 MB / 1.001 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003972/0.2583, allocations: 4.977 MB / 1.006 GB, free: 248 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.2702, allocations: 7.862 MB / 1.014 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.2729, allocations: 1.312 MB / 1.015 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003524/0.2764, allocations: 1.889 MB / 1.017 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0008406/0.2773, allocations: 192 kB / 1.017 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.2791, allocations: 415.7 kB / 1.017 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002293/0.2815, allocations: 1.388 MB / 1.019 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.2828, allocations: 0.5589 MB / 1.019 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.2885, allocations: 5.33 MB / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.2885, allocations: 0 / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.569e-06/0.2885, allocations: 0 / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001541/0.2887, allocations: 3.938 kB / 1.024 GB, free: 13.18 MB / 0.6511 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.004783/0.2935, allocations: 2.483 MB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2935, allocations: 8.031 kB / 1.027 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004768/0.2983, allocations: 1.141 MB / 1.028 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.3011, allocations: 1.6 MB / 1.029 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.3013, allocations: 226.3 kB / 1.03 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004853/0.3018, allocations: 292.4 kB / 1.03 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009177/0.311, allocations: 5.28 MB / 1.035 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.713e-05/0.3111, allocations: 7.938 kB / 1.035 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/0.3114, allocations: 120 kB / 1.035 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002434/0.3116, allocations: 213.1 kB / 1.035 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008053/0.3197, allocations: 4.746 MB / 1.04 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02742/0.3471, allocations: 23.21 MB / 1.063 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4618/0.809, allocations: 3.177 MB / 1.066 GB, free: 83.51 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002802/0.8118, allocations: 0.9082 MB / 1.067 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.8121, allocations: 101.7 kB / 1.067 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.8121, allocations: 47.84 kB / 1.067 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.907e-06/0.8122, allocations: 2.969 kB / 1.067 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.004347/0.8165, allocations: 2.086 MB / 1.069 GB, free: 82.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.8167, allocations: 217.9 kB / 1.069 GB, free: 82.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.8192, allocations: 1.088 MB / 1.07 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.8193, allocations: 42.22 kB / 1.07 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/0.8203, allocations: 1.284 MB / 1.071 GB, free: 81.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.8206, allocations: 303.5 kB / 1.072 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.8207, allocations: 29.69 kB / 1.072 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002199/0.821, allocations: 416.5 kB / 1.072 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.8226, allocations: 0.8799 MB / 1.073 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.8245, allocations: 1.508 MB / 1.075 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.8278, allocations: 2.36 MB / 1.077 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/0.8278, allocations: 5.625 kB / 1.077 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004903/0.8327, allocations: 2.491 MB / 1.079 GB, free: 77.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005819/0.8333, allocations: 0.6387 MB / 1.08 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.034e-05/0.8334, allocations: 19.25 kB / 1.08 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.706e-05/0.8335, allocations: 32.25 kB / 1.08 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.8355, allocations: 468.2 kB / 1.08 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.905e-05/0.8356, allocations: 39.8 kB / 1.08 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.8373, allocations: 351.7 kB / 1.081 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.8375, allocations: 79.44 kB / 1.081 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.8375, allocations: 7.812 kB / 1.081 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00362/0.8411, allocations: 2.209 MB / 1.083 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.94e-05/0.8412, allocations: 23.77 kB / 1.083 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/0.8412, allocations: 27.47 kB / 1.083 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.8429, allocations: 443 kB / 1.083 GB, free: 75.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.175e-05/0.843, allocations: 43.73 kB / 1.084 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.8444, allocations: 248.6 kB / 1.084 GB, free: 75.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.8445, allocations: 77.12 kB / 1.084 GB, free: 75.09 MB / 0.6823 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.00303/0.8476, allocations: 1.283 MB / 1.085 GB, free: 74.47 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/0.8479, allocations: 98.41 kB / 1.085 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.8507, allocations: 1.563 MB / 1.087 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.8507, allocations: 9.844 kB / 1.087 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.8507, allocations: 5.453 kB / 1.087 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.8507, allocations: 8.266 kB / 1.087 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007773/0.8585, allocations: 4.5 MB / 1.091 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.8585, allocations: 2.281 kB / 1.091 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.8596, allocations: 248.2 kB / 1.091 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.8596, allocations: 4.125 kB / 1.091 GB, free: 71.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.8597, allocations: 22.11 kB / 1.091 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.8597, allocations: 6.078 kB / 1.091 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8597, allocations: 1.375 kB / 1.091 GB, free: 71.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.8619, allocations: 1.918 MB / 1.093 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006577/0.8626, allocations: 359 kB / 1.094 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.8628, allocations: 17.95 kB / 1.094 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/0.8637, allocations: 128.2 kB / 1.094 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.864, allocations: 50.08 kB / 1.094 GB, free: 70.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.864, allocations: 25.47 kB / 1.094 GB, free: 70.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001553/0.8656, allocations: 0.7919 MB / 1.095 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8656, allocations: 0 / 1.095 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004125/0.8697, allocations: 1.304 MB / 1.096 GB, free: 69.85 MB / 0.6823 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.0002223/0.87, allocations: 125.4 kB / 1.096 GB, free: 69.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005217/0.8752, allocations: 2.969 MB / 1.099 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8752, allocations: 3.828 kB / 1.099 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.8763, allocations: 0.6629 MB / 1.1 GB, free: 68.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.878, allocations: 183.5 kB / 1.1 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009104/0.8871, allocations: 5.531 MB / 1.105 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/0.8896, allocations: 2.206 MB / 1.107 GB, free: 64.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003177/0.8928, allocations: 1.1 MB / 1.108 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.8932, allocations: 94.02 kB / 1.108 GB, free: 64.41 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.8932, allocations: 0 / 1.108 GB, free: 64.41 MB / 0.6823 GB Notification: Performance of Templates: time 0.0403/0.9335, allocations: 14.78 MB / 1.123 GB, free: 55.68 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)