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.00106/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 190.4 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 222 MB, free: 4.762 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.667/1.667, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.00133/0.00133, allocations: 59.67 kB / 0.6708 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2702, allocations: 114.5 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01999/0.2903, allocations: 17.09 MB / 0.7994 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.301, allocations: 5.905 MB / 0.8051 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.3037, allocations: 47.88 kB / 0.8052 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.3074, allocations: 1.198 MB / 0.8063 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.3101, allocations: 0.7863 MB / 0.8071 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.3138, allocations: 1.231 MB / 0.8083 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006931/0.3207, allocations: 6.483 MB / 0.8146 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.3323, allocations: 7.631 MB / 0.8221 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.3357, allocations: 1.612 MB / 0.8237 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/0.3401, allocations: 2.334 MB / 0.826 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.3413, allocations: 320 kB / 0.8263 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.3439, allocations: 0.8465 MB / 0.8271 GB, free: 288 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002466/0.3464, allocations: 1.598 MB / 0.8286 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.3488, allocations: 1.622 MB / 0.8302 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006042/0.3549, allocations: 6.275 MB / 0.8364 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3549, allocations: 4 kB / 0.8364 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3549, allocations: 0 / 0.8364 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001689/0.3551, allocations: 0 / 0.8364 GB, free: 6.754 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.007365/0.3625, allocations: 3.064 MB / 0.8394 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3625, allocations: 12.03 kB / 0.8394 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005206/0.3677, allocations: 1.121 MB / 0.8405 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003888/0.3717, allocations: 1.608 MB / 0.842 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.3719, allocations: 222.4 kB / 0.8422 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008216/0.3727, allocations: 296.3 kB / 0.8425 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.3835, allocations: 5.3 MB / 0.8477 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/0.3836, allocations: 4 kB / 0.8477 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003851/0.384, allocations: 120 kB / 0.8478 GB, free: 10.81 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/0.3842, allocations: 205.1 kB / 0.848 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008163/0.3924, allocations: 4.755 MB / 0.8527 GB, free: 5.84 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02811/0.4205, allocations: 23.18 MB / 0.8753 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004527/0.4251, allocations: 3.183 MB / 0.8784 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.4265, allocations: 0.9211 MB / 0.8793 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.4267, allocations: 105.7 kB / 0.8794 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.4267, allocations: 51.16 kB / 0.8795 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.4267, allocations: 0 / 0.8795 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003279/0.43, allocations: 2.074 MB / 0.8815 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.4302, allocations: 218.3 kB / 0.8817 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.4317, allocations: 1.094 MB / 0.8828 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.441e-05/0.4318, allocations: 41.7 kB / 0.8828 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008529/0.4326, allocations: 1.292 MB / 0.8841 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.4329, allocations: 295.9 kB / 0.8843 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/0.4335, allocations: 351.1 kB / 0.8847 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4336, allocations: 341.9 kB / 0.885 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.435, allocations: 0.8986 MB / 0.8859 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.437, allocations: 1.511 MB / 0.8874 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/0.4402, allocations: 2.362 MB / 0.8897 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.4402, allocations: 4 kB / 0.8897 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003943/0.4442, allocations: 2.492 MB / 0.8921 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.4442, allocations: 12 kB / 0.8921 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/0.4443, allocations: 20 kB / 0.8921 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.531e-05/0.4443, allocations: 31.98 kB / 0.8922 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.446, allocations: 463.2 kB / 0.8926 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-05/0.4461, allocations: 39.86 kB / 0.8926 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.4477, allocations: 342.2 kB / 0.893 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.4479, allocations: 83.91 kB / 0.893 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003402/0.4513, allocations: 1.906 MB / 0.8949 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001597/0.4529, allocations: 1.442 MB / 0.8963 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002758/0.4557, allocations: 2.202 MB / 0.8985 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.118e-05/0.4557, allocations: 4 kB / 0.8985 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003624/0.4593, allocations: 2.324 MB / 0.9007 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4594, allocations: 16.06 kB / 0.9008 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.4594, allocations: 20 kB / 0.9008 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.4594, allocations: 28 kB / 0.9008 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.4609, allocations: 435.2 kB / 0.9012 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-05/0.4609, allocations: 43.86 kB / 0.9013 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.4625, allocations: 282.5 kB / 0.9015 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.4626, allocations: 83.97 kB / 0.9016 GB, free: 15.92 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004244/0.4631, allocations: 287.6 kB / 0.9019 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.4633, allocations: 102.8 kB / 0.902 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.4658, allocations: 1.56 MB / 0.9035 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4659, allocations: 8 kB / 0.9035 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4659, allocations: 4 kB / 0.9035 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4659, allocations: 7.922 kB / 0.9035 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006973/0.4729, allocations: 4.486 MB / 0.9079 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.4729, allocations: 8 kB / 0.9079 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/0.4739, allocations: 259.5 kB / 0.9082 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.4739, allocations: 4 kB / 0.9082 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.4739, allocations: 12 kB / 0.9082 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.474, allocations: 4 kB / 0.9082 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.474, allocations: 4 kB / 0.9082 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.4763, allocations: 1.911 MB / 0.91 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/0.4768, allocations: 315.7 kB / 0.9103 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.4769, allocations: 23.94 kB / 0.9104 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.4778, allocations: 123.8 kB / 0.9105 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.478, allocations: 56.52 kB / 0.9105 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.478, allocations: 24 kB / 0.9106 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001114/0.4792, allocations: 0.7956 MB / 0.9113 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4792, allocations: 0 / 0.9113 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003595/0.4828, allocations: 1.301 MB / 0.9126 GB, free: 4.453 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.483, allocations: 123.1 kB / 0.9127 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004517/0.4876, allocations: 2.98 MB / 0.9156 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.4876, allocations: 0 / 0.9156 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/0.4885, allocations: 0.6554 MB / 0.9163 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.49, allocations: 182.2 kB / 0.9165 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4339/0.9239, allocations: 5.771 MB / 0.9221 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002619/0.9266, allocations: 2.207 MB / 0.9242 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00256/0.9292, allocations: 1.101 MB / 0.9253 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.9295, allocations: 91.31 kB / 0.9254 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.573e-06/0.9295, allocations: 0 / 0.9254 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.03316/0.9627, allocations: 15.31 MB / 0.9404 GB, free: 123.2 MB / 0.7325 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)