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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007476/0.0007475, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007885/0.0007886, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 222.1 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005364/0.0005364, allocations: 23.56 kB / 0.6737 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2761, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01751/0.2937, allocations: 15.6 MB / 0.8025 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009559/0.3033, allocations: 5.579 MB / 0.808 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.3047, allocations: 43.88 kB / 0.808 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000806/0.3055, allocations: 313.7 kB / 0.8083 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.3072, allocations: 0.6458 MB / 0.8089 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.3092, allocations: 0.6895 MB / 0.8096 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004997/0.3142, allocations: 4.946 MB / 0.8144 GB, free: 64 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01007/0.3243, allocations: 7.044 MB / 0.8213 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.327, allocations: 1.312 MB / 0.8226 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/0.3298, allocations: 1.885 MB / 0.8244 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.3302, allocations: 188 kB / 0.8246 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3313, allocations: 419.6 kB / 0.825 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.3327, allocations: 1.38 MB / 0.8264 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006396/0.3333, allocations: 0.559 MB / 0.8269 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005162/0.3385, allocations: 5.334 MB / 0.8321 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.3385, allocations: 4 kB / 0.8321 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3385, allocations: 0 / 0.8321 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001554/0.3387, allocations: 0 / 0.8321 GB, free: 13.84 MB / 0.6544 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.005528/0.3442, allocations: 2.502 MB / 0.8346 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3443, allocations: 8.031 kB / 0.8346 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/0.349, allocations: 1.14 MB / 0.8357 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.3519, allocations: 1.591 MB / 0.8373 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.3521, allocations: 222 kB / 0.8375 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/0.3525, allocations: 292 kB / 0.8377 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009815/0.3624, allocations: 5.284 MB / 0.8429 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/0.3624, allocations: 8 kB / 0.8429 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.3628, allocations: 120 kB / 0.843 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/0.363, allocations: 209.1 kB / 0.8432 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007857/0.3709, allocations: 4.743 MB / 0.8479 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.3994, allocations: 23.2 MB / 0.8705 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004527/0.404, allocations: 3.191 MB / 0.8736 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.4053, allocations: 0.9162 MB / 0.8745 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.4055, allocations: 105.7 kB / 0.8746 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.4056, allocations: 47.22 kB / 0.8747 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 4.127e-06/0.4056, allocations: 0 / 0.8747 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003399/0.409, allocations: 2.086 MB / 0.8767 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4091, allocations: 230.2 kB / 0.8769 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.411, allocations: 1.086 MB / 0.878 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.273e-05/0.4111, allocations: 41.7 kB / 0.878 GB, free: 12 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.4122, allocations: 1.277 MB / 0.8793 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.4126, allocations: 303.9 kB / 0.8796 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.4127, allocations: 36 kB / 0.8796 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002757/0.413, allocations: 406.7 kB / 0.88 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.4145, allocations: 0.8822 MB / 0.8808 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.4163, allocations: 1.511 MB / 0.8823 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.4181, allocations: 1.186 MB / 0.8835 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/0.4181, allocations: 4 kB / 0.8835 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003978/0.4221, allocations: 2.488 MB / 0.8859 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005402/0.4227, allocations: 0.643 MB / 0.8865 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.4227, allocations: 28.02 kB / 0.8866 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/0.4227, allocations: 32 kB / 0.8866 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.4243, allocations: 463.2 kB / 0.887 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.144e-05/0.4244, allocations: 39.86 kB / 0.8871 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.4259, allocations: 345.8 kB / 0.8874 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.4261, allocations: 79.98 kB / 0.8875 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.4261, allocations: 4 kB / 0.8875 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003346/0.4295, allocations: 2.21 MB / 0.8896 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-05/0.4295, allocations: 20 kB / 0.8897 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.241e-05/0.4296, allocations: 32 kB / 0.8897 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.4309, allocations: 443.2 kB / 0.8901 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.523e-05/0.431, allocations: 40.23 kB / 0.8902 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.4322, allocations: 246.6 kB / 0.8904 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.4323, allocations: 83.97 kB / 0.8905 GB, free: 14.66 MB / 0.7169 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.002291/0.4346, allocations: 1.277 MB / 0.8917 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.435, allocations: 98.88 kB / 0.8918 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.4375, allocations: 1.571 MB / 0.8933 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.4375, allocations: 12 kB / 0.8934 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.4375, allocations: 0 / 0.8934 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4375, allocations: 7.984 kB / 0.8934 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0092/0.4467, allocations: 4.498 MB / 0.8978 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.4468, allocations: 4 kB / 0.8978 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/0.4478, allocations: 251.5 kB / 0.898 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.4478, allocations: 11.88 kB / 0.898 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/0.4479, allocations: 19.98 kB / 0.898 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.4479, allocations: 8 kB / 0.898 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.448, allocations: 0 / 0.898 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.4503, allocations: 1.919 MB / 0.8999 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006527/0.451, allocations: 359.5 kB / 0.9003 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/0.4513, allocations: 15.98 kB / 0.9003 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009023/0.4522, allocations: 123.8 kB / 0.9004 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.4523, allocations: 52.59 kB / 0.9004 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.4524, allocations: 20 kB / 0.9005 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001152/0.4535, allocations: 0.7917 MB / 0.9012 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4535, allocations: 0 / 0.9012 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003855/0.4574, allocations: 1.305 MB / 0.9025 GB, free: 2.133 MB / 0.7169 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.0002349/0.4576, allocations: 123.1 kB / 0.9026 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004518/0.4622, allocations: 2.979 MB / 0.9055 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4622, allocations: 0 / 0.9055 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.4632, allocations: 0.6593 MB / 0.9062 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.4647, allocations: 187.2 kB / 0.9064 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009369/0.474, allocations: 5.525 MB / 0.9117 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/0.477, allocations: 2.214 MB / 0.9139 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002697/0.4797, allocations: 1.097 MB / 0.915 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.4801, allocations: 91.41 kB / 0.9151 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of SimCode: time 8.61e-07/0.4801, allocations: 0 / 0.9151 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of Templates: time 0.4737/0.9538, allocations: 14.78 MB / 0.9295 GB, free: 123.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: