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.001097/0.001097, allocations: 104.4 kB / 16.35 MB, free: 5.879 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.00123/0.00123, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.74 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.001466/0.001466, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2539, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.4959/0.7499, allocations: 17.17 MB / 0.8016 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009735/0.7597, allocations: 5.895 MB / 0.8073 GB, free: 37.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.7618, allocations: 53.38 kB / 0.8074 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004101/0.7659, allocations: 1.292 MB / 0.8086 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.769, allocations: 0.8331 MB / 0.8094 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.7733, allocations: 1.336 MB / 0.8107 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006902/0.7802, allocations: 4.286 MB / 0.8149 GB, free: 33.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009701/0.7899, allocations: 6.918 MB / 0.8217 GB, free: 30.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.794, allocations: 1.906 MB / 0.8235 GB, free: 29.92 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/0.7995, allocations: 2.28 MB / 0.8258 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002056/0.8016, allocations: 450.3 kB / 0.8262 GB, free: 28.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003281/0.8049, allocations: 0.8504 MB / 0.827 GB, free: 28.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0032/0.8081, allocations: 1.716 MB / 0.8287 GB, free: 28.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004658/0.8128, allocations: 1.76 MB / 0.8304 GB, free: 26.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.8235, allocations: 6.38 MB / 0.8367 GB, free: 24.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8235, allocations: 2.625 kB / 0.8367 GB, free: 24.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8235, allocations: 0 / 0.8367 GB, free: 24.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002181/0.8238, allocations: 0 / 0.8367 GB, free: 24.99 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.01055/0.8343, allocations: 3.073 MB / 0.8397 GB, free: 23.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.8344, allocations: 9.156 kB / 0.8397 GB, free: 23.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005859/0.8402, allocations: 1.113 MB / 0.8408 GB, free: 23.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005062/0.8453, allocations: 1.603 MB / 0.8423 GB, free: 22.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002609/0.8456, allocations: 224 kB / 0.8425 GB, free: 22.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/0.8471, allocations: 295.2 kB / 0.8428 GB, free: 22.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.8595, allocations: 5.306 MB / 0.848 GB, free: 18.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.341e-05/0.8596, allocations: 6.312 kB / 0.848 GB, free: 18.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.8601, allocations: 126.4 kB / 0.8481 GB, free: 18.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003415/0.8604, allocations: 202 kB / 0.8483 GB, free: 18.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.8707, allocations: 4.76 MB / 0.853 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.9013, allocations: 23.01 MB / 0.8754 GB, free: 11.35 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/0.9066, allocations: 3.176 MB / 0.8785 GB, free: 7.898 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.908, allocations: 0.9219 MB / 0.8794 GB, free: 6.957 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.9082, allocations: 97.73 kB / 0.8795 GB, free: 6.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.9083, allocations: 59.09 kB / 0.8796 GB, free: 6.773 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.9083, allocations: 0 / 0.8796 GB, free: 6.773 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.003603/0.9119, allocations: 2.07 MB / 0.8816 GB, free: 4.695 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.912, allocations: 230.2 kB / 0.8818 GB, free: 4.418 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.9138, allocations: 1.094 MB / 0.8829 GB, free: 3.316 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-05/0.9139, allocations: 37.7 kB / 0.8829 GB, free: 3.273 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009071/0.9148, allocations: 1.281 MB / 0.8842 GB, free: 1.973 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.9151, allocations: 303.9 kB / 0.8845 GB, free: 1.672 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005397/0.9157, allocations: 351.1 kB / 0.8848 GB, free: 1.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.9159, allocations: 341.9 kB / 0.8851 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.9173, allocations: 0.8994 MB / 0.886 GB, free: 80 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.9193, allocations: 1.507 MB / 0.8875 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.9225, allocations: 2.362 MB / 0.8898 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.9225, allocations: 4 kB / 0.8898 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003978/0.9265, allocations: 2.496 MB / 0.8922 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.9265, allocations: 12 kB / 0.8922 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.9266, allocations: 23.94 kB / 0.8923 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.005e-05/0.9266, allocations: 28 kB / 0.8923 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.9284, allocations: 456.4 kB / 0.8927 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.976e-05/0.9284, allocations: 39.86 kB / 0.8928 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.9303, allocations: 350.1 kB / 0.8931 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.9305, allocations: 79.98 kB / 0.8932 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003506/0.934, allocations: 1.901 MB / 0.895 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00164/0.9356, allocations: 1.446 MB / 0.8964 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002792/0.9384, allocations: 2.198 MB / 0.8986 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.286e-05/0.9385, allocations: 8 kB / 0.8986 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003804/0.9423, allocations: 2.321 MB / 0.9009 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.9423, allocations: 16.03 kB / 0.9009 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.9423, allocations: 20 kB / 0.9009 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.9424, allocations: 28 kB / 0.9009 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.944, allocations: 443.8 kB / 0.9013 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.603e-05/0.944, allocations: 39.86 kB / 0.9014 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.9457, allocations: 282.6 kB / 0.9017 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.9458, allocations: 79.98 kB / 0.9017 GB, free: 14.86 MB / 0.7012 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.0005104/0.9464, allocations: 287.5 kB / 0.902 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.9467, allocations: 102.8 kB / 0.9021 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.9493, allocations: 1.558 MB / 0.9036 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.9493, allocations: 16 kB / 0.9036 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9493, allocations: 0 / 0.9036 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.9493, allocations: 11.92 kB / 0.9036 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00781/0.9571, allocations: 4.469 MB / 0.908 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.9572, allocations: 0 / 0.908 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.9582, allocations: 255.6 kB / 0.9083 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.9582, allocations: 4 kB / 0.9083 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.9583, allocations: 16 kB / 0.9083 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/0.9583, allocations: 4 kB / 0.9083 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9583, allocations: 3.938 kB / 0.9083 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.9607, allocations: 1.908 MB / 0.9101 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/0.9614, allocations: 323.7 kB / 0.9105 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.9615, allocations: 23.91 kB / 0.9105 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008943/0.9624, allocations: 119.8 kB / 0.9106 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.9626, allocations: 56.47 kB / 0.9106 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.9627, allocations: 24 kB / 0.9107 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001066/0.9637, allocations: 0.7995 MB / 0.9115 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9637, allocations: 0 / 0.9115 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003609/0.9674, allocations: 1.305 MB / 0.9127 GB, free: 3.41 MB / 0.7012 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.0002209/0.9676, allocations: 120.7 kB / 0.9128 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004588/0.9722, allocations: 2.991 MB / 0.9158 GB, free: 300 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9722, allocations: 0 / 0.9158 GB, free: 300 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.9731, allocations: 0.6555 MB / 0.9164 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.9747, allocations: 210.9 kB / 0.9166 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/0.9824, allocations: 4.497 MB / 0.921 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.9846, allocations: 2.206 MB / 0.9231 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002595/0.9872, allocations: 1.097 MB / 0.9242 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/0.9875, allocations: 91.42 kB / 0.9243 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of SimCode: time 6.92e-07/0.9876, allocations: 4 kB / 0.9243 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of Templates: time 0.02881/1.016, allocations: 15.85 MB / 0.9398 GB, free: 7.758 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)