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.0009497/0.0009494, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0009338/0.0009339, allocations: 177.3 kB / 15.94 MB, free: 220 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.578/1.578, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.636/1.636, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005511/0.0005511, allocations: 11.38 kB / 0.6736 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2696, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01727/0.287, allocations: 15.34 MB / 0.8021 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.2971, allocations: 5.549 MB / 0.8075 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.2989, allocations: 39.88 kB / 0.8076 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.3, allocations: 353.9 kB / 0.8079 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.3024, allocations: 0.5724 MB / 0.8085 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.3049, allocations: 0.7671 MB / 0.8092 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003911/0.3088, allocations: 1.895 MB / 0.8111 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01041/0.3192, allocations: 7.032 MB / 0.8179 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.3211, allocations: 1.075 MB / 0.819 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.323, allocations: 1.235 MB / 0.8202 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.3233, allocations: 188 kB / 0.8204 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.3244, allocations: 407.6 kB / 0.8207 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.3256, allocations: 1.275 MB / 0.822 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.3263, allocations: 0.5589 MB / 0.8225 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.3313, allocations: 5.326 MB / 0.8277 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3313, allocations: 0 / 0.8277 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.926e-06/0.3313, allocations: 0 / 0.8277 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001637/0.3315, allocations: 0 / 0.8277 GB, free: 2.199 MB / 0.6387 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.006173/0.3377, allocations: 2.502 MB / 0.8302 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3377, allocations: 12.03 kB / 0.8302 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005449/0.3432, allocations: 1.206 MB / 0.8314 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/0.3471, allocations: 1.584 MB / 0.8329 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.3473, allocations: 225.9 kB / 0.8331 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005964/0.3479, allocations: 296 kB / 0.8334 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008821/0.3567, allocations: 5.253 MB / 0.8385 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/0.3568, allocations: 7.984 kB / 0.8386 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/0.3571, allocations: 124 kB / 0.8387 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002373/0.3574, allocations: 205.1 kB / 0.8389 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007817/0.3652, allocations: 4.747 MB / 0.8435 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03151/0.3968, allocations: 23.2 MB / 0.8662 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.4015, allocations: 3.183 MB / 0.8693 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.4017, allocations: 105.7 kB / 0.8694 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.4018, allocations: 47.16 kB / 0.8694 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/0.4018, allocations: 0 / 0.8694 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003511/0.4053, allocations: 2.113 MB / 0.8715 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.4054, allocations: 222.2 kB / 0.8717 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.4071, allocations: 1.09 MB / 0.8728 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.4072, allocations: 41.7 kB / 0.8728 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009189/0.4082, allocations: 1.281 MB / 0.874 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.4085, allocations: 303.8 kB / 0.8743 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4086, allocations: 32 kB / 0.8744 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.4088, allocations: 410.7 kB / 0.8748 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.4101, allocations: 0.89 MB / 0.8756 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.412, allocations: 1.519 MB / 0.8771 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.4137, allocations: 1.194 MB / 0.8783 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/0.4138, allocations: 7.938 kB / 0.8783 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004038/0.4178, allocations: 2.504 MB / 0.8807 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.003606/0.4214, allocations: 7.489 MB / 0.888 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-05/0.4215, allocations: 20 kB / 0.8881 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.797e-05/0.4215, allocations: 28 kB / 0.8881 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.4232, allocations: 471.2 kB / 0.8885 GB, free: 200 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.577e-05/0.4233, allocations: 43.8 kB / 0.8886 GB, free: 156 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.425, allocations: 345.8 kB / 0.8889 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.4251, allocations: 75.98 kB / 0.889 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4252, allocations: 7.953 kB / 0.889 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003271/0.4284, allocations: 2.237 MB / 0.8912 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.4285, allocations: 20.78 kB / 0.8912 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.4285, allocations: 32 kB / 0.8912 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.4299, allocations: 443.2 kB / 0.8917 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.128e-05/0.4299, allocations: 39.86 kB / 0.8917 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.4311, allocations: 246.6 kB / 0.8919 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.4313, allocations: 79.98 kB / 0.892 GB, free: 12.65 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.002212/0.4335, allocations: 1.273 MB / 0.8932 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.4338, allocations: 106.8 kB / 0.8933 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.4362, allocations: 1.591 MB / 0.8949 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4362, allocations: 8 kB / 0.8949 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.4362, allocations: 4 kB / 0.8949 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4362, allocations: 3.984 kB / 0.8949 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006706/0.4429, allocations: 4.251 MB / 0.8991 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.443, allocations: 0 / 0.8991 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009439/0.4439, allocations: 255.6 kB / 0.8993 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.4439, allocations: 7.938 kB / 0.8993 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.444, allocations: 16 kB / 0.8993 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.444, allocations: 8 kB / 0.8993 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.444, allocations: 0 / 0.8993 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.4462, allocations: 2.011 MB / 0.9013 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000689/0.4469, allocations: 359.6 kB / 0.9016 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.447, allocations: 16 kB / 0.9017 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000839/0.4479, allocations: 131.8 kB / 0.9018 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.448, allocations: 48.55 kB / 0.9018 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.4481, allocations: 27.98 kB / 0.9019 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009782/0.449, allocations: 0.7839 MB / 0.9026 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.449, allocations: 0 / 0.9026 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003177/0.4522, allocations: 1.309 MB / 0.9039 GB, free: 276 kB / 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.0002148/0.4525, allocations: 135.1 kB / 0.904 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00451/0.457, allocations: 3.014 MB / 0.907 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.457, allocations: 4.875 kB / 0.907 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009082/0.4579, allocations: 0.6752 MB / 0.9076 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/0.4589, allocations: 165 kB / 0.9078 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008163/0.4671, allocations: 5.525 MB / 0.9132 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/0.4692, allocations: 2.259 MB / 0.9154 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002509/0.4717, allocations: 1.101 MB / 0.9165 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.472, allocations: 87.42 kB / 0.9166 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.753e-06/0.472, allocations: 0 / 0.9166 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.4497/0.9217, allocations: 14.73 MB / 0.9309 GB, free: 124.2 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: