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 2.731/2.731, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.001573/0.001573, allocations: 182.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001185/0.001184, allocations: 92.17 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0004999, allocations: 10.56 kB / 0.8656 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02256/0.244, allocations: 15.34 MB / 0.9932 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.2557, allocations: 5.553 MB / 0.9986 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.2572, allocations: 47.75 kB / 0.9986 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.2584, allocations: 357.9 kB / 0.999 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.2609, allocations: 0.5646 MB / 0.9995 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.2641, allocations: 0.7747 MB / 1 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003774/0.2679, allocations: 1.883 MB / 1.002 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01469/0.2826, allocations: 7.033 MB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002676/0.2853, allocations: 1.067 MB / 1.01 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/0.2886, allocations: 1.246 MB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009017/0.2895, allocations: 188 kB / 1.011 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.2912, allocations: 403.6 kB / 1.012 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002385/0.2936, allocations: 1.279 MB / 1.013 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.2949, allocations: 0.5589 MB / 1.014 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008616/0.3035, allocations: 5.322 MB / 1.019 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3036, allocations: 0 / 1.019 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.216e-06/0.3036, allocations: 0 / 1.019 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001859/0.3038, allocations: 0 / 1.019 GB, free: 2.621 MB / 0.6355 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.009063/0.3129, allocations: 2.502 MB / 1.021 GB, free: 60 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3129, allocations: 8.031 kB / 1.021 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009704/0.3227, allocations: 1.214 MB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005411/0.3281, allocations: 1.584 MB / 1.024 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/0.3285, allocations: 226 kB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/0.33, allocations: 288 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.3467, allocations: 5.256 MB / 1.03 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.3469, allocations: 4 kB / 1.03 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007669/0.3477, allocations: 128 kB / 1.03 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004125/0.3481, allocations: 209.1 kB / 1.03 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.3628, allocations: 4.753 MB / 1.035 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04655/0.4094, allocations: 23.19 MB / 1.057 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008465/0.4179, allocations: 3.183 MB / 1.06 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.4183, allocations: 109.7 kB / 1.06 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.4183, allocations: 47.22 kB / 1.06 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.767e-06/0.4184, allocations: 0 / 1.06 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.005945/0.4243, allocations: 2.117 MB / 1.063 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.4245, allocations: 218.2 kB / 1.063 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.4269, allocations: 1.094 MB / 1.064 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002516/0.4272, allocations: 41.7 kB / 1.064 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.4286, allocations: 1.285 MB / 1.065 GB, free: 340 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005334/0.4291, allocations: 299.9 kB / 1.065 GB, free: 36 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.4293, allocations: 36 kB / 1.065 GB, free: 0 / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.6218/1.051, allocations: 402.2 kB / 1.066 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003188/1.054, allocations: 0.8934 MB / 1.067 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003551/1.058, allocations: 1.512 MB / 1.068 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/1.061, allocations: 1.195 MB / 1.069 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-05/1.061, allocations: 5.75 kB / 1.069 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007838/1.069, allocations: 2.501 MB / 1.072 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001701/1.071, allocations: 7.49 MB / 1.079 GB, free: 73.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.322e-05/1.071, allocations: 22.44 kB / 1.079 GB, free: 73.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.045e-05/1.071, allocations: 31.09 kB / 1.079 GB, free: 73.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/1.075, allocations: 459.9 kB / 1.08 GB, free: 73.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.894e-05/1.075, allocations: 40.8 kB / 1.08 GB, free: 73.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/1.078, allocations: 350.9 kB / 1.08 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004241/1.079, allocations: 79.67 kB / 1.08 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/1.079, allocations: 3.844 kB / 1.08 GB, free: 72.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006796/1.086, allocations: 2.232 MB / 1.082 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.812e-05/1.086, allocations: 19.66 kB / 1.082 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-05/1.086, allocations: 30.12 kB / 1.082 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/1.089, allocations: 446.1 kB / 1.083 GB, free: 72.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.981e-05/1.089, allocations: 39.62 kB / 1.083 GB, free: 72.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/1.092, allocations: 255 kB / 1.083 GB, free: 72.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004831/1.093, allocations: 77.09 kB / 1.083 GB, free: 72.03 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.003857/1.097, allocations: 1.273 MB / 1.084 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/1.097, allocations: 98.44 kB / 1.084 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/1.102, allocations: 1.6 MB / 1.086 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/1.102, allocations: 13.64 kB / 1.086 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.102, allocations: 1.875 kB / 1.086 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/1.102, allocations: 6.75 kB / 1.086 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/1.113, allocations: 4.241 MB / 1.09 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.113, allocations: 1.312 kB / 1.09 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/1.116, allocations: 256.9 kB / 1.09 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/1.116, allocations: 8.516 kB / 1.09 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/1.116, allocations: 17.67 kB / 1.09 GB, free: 69.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/1.116, allocations: 5.828 kB / 1.09 GB, free: 69.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.116, allocations: 1.906 kB / 1.09 GB, free: 69.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003945/1.12, allocations: 2.009 MB / 1.092 GB, free: 67.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.121, allocations: 363.7 kB / 1.093 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/1.121, allocations: 14.14 kB / 1.093 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.123, allocations: 124.6 kB / 1.093 GB, free: 67.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/1.123, allocations: 58.91 kB / 1.093 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.085e-05/1.123, allocations: 25.33 kB / 1.093 GB, free: 67.71 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001893/1.125, allocations: 0.7894 MB / 1.094 GB, free: 67.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/1.125, allocations: 0 / 1.094 GB, free: 67.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005425/1.131, allocations: 1.304 MB / 1.095 GB, free: 66.99 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.0003163/1.131, allocations: 126.9 kB / 1.095 GB, free: 66.88 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007584/1.139, allocations: 3.009 MB / 1.098 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.139, allocations: 1.531 kB / 1.098 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.14, allocations: 0.6753 MB / 1.099 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.142, allocations: 168.8 kB / 1.099 GB, free: 65.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.154, allocations: 5.528 MB / 1.104 GB, free: 62.69 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/1.158, allocations: 2.248 MB / 1.106 GB, free: 61.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004729/1.163, allocations: 1.108 MB / 1.108 GB, free: 61.56 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007096/1.164, allocations: 92.81 kB / 1.108 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.352e-06/1.164, allocations: 0 / 1.108 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.04407/1.208, allocations: 14.73 MB / 1.122 GB, free: 55.79 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)