Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 107.1 kB / 16.29 MB, free: 6.43 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.00145/0.00145, allocations: 184 kB / 17.22 MB, free: 5.934 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.484/1.484, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.854/1.854, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001443/0.001443, allocations: 71.89 kB / 0.6722 GB, free: 6.469 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2562, allocations: 114.6 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.4876/0.7439, allocations: 20.41 MB / 0.804 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.7576, allocations: 7.574 MB / 0.8114 GB, free: 34.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.7607, allocations: 61.69 kB / 0.8115 GB, free: 34.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004225/0.765, allocations: 1.347 MB / 0.8128 GB, free: 33.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.7686, allocations: 0.9787 MB / 0.8137 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005805/0.7745, allocations: 1.999 MB / 0.8157 GB, free: 31.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006581/0.7811, allocations: 4.315 MB / 0.8199 GB, free: 29.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/0.7914, allocations: 6.261 MB / 0.826 GB, free: 27.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.7956, allocations: 1.84 MB / 0.8278 GB, free: 26.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004873/0.8005, allocations: 2.203 MB / 0.83 GB, free: 25.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.8028, allocations: 426.3 kB / 0.8304 GB, free: 25.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/0.8064, allocations: 0.913 MB / 0.8313 GB, free: 25.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003903/0.8104, allocations: 1.648 MB / 0.8329 GB, free: 24.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005643/0.816, allocations: 1.719 MB / 0.8346 GB, free: 23.81 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.8271, allocations: 6.161 MB / 0.8406 GB, free: 21.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.128e-06/0.8272, allocations: 1.219 kB / 0.8406 GB, free: 21.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8272, allocations: 0 / 0.8406 GB, free: 21.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002969/0.8275, allocations: 0 / 0.8406 GB, free: 21.91 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01273/0.8402, allocations: 3.041 MB / 0.8435 GB, free: 20.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.8403, allocations: 8.531 kB / 0.8436 GB, free: 20.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/0.8436, allocations: 0.6913 MB / 0.8442 GB, free: 19.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.8467, allocations: 1.538 MB / 0.8457 GB, free: 18.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.8468, allocations: 215.2 kB / 0.8459 GB, free: 18.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005473/0.8474, allocations: 289.8 kB / 0.8462 GB, free: 18.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008534/0.8559, allocations: 5.045 MB / 0.8511 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.795e-05/0.856, allocations: 7.75 kB / 0.8511 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.8564, allocations: 125.7 kB / 0.8513 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/0.8566, allocations: 205.6 kB / 0.8515 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006808/0.8634, allocations: 4.179 MB / 0.8555 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.8882, allocations: 22.86 MB / 0.8779 GB, free: 8.387 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.892, allocations: 1.723 MB / 0.8796 GB, free: 7.043 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.8939, allocations: 1.129 MB / 0.8807 GB, free: 5.902 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.8941, allocations: 105.7 kB / 0.8808 GB, free: 5.781 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.8942, allocations: 46.12 kB / 0.8808 GB, free: 5.73 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 4.017e-06/0.8942, allocations: 0 / 0.8808 GB, free: 5.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=87): time 0.006777/0.901, allocations: 3.989 MB / 0.8847 GB, free: 1.703 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.9011, allocations: 137.2 kB / 0.8848 GB, free: 1.539 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.9023, allocations: 0.8525 MB / 0.8857 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/0.9024, allocations: 37.7 kB / 0.8857 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007568/0.9031, allocations: 1.162 MB / 0.8868 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.9035, allocations: 311.6 kB / 0.8871 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004289/0.9039, allocations: 270.5 kB / 0.8874 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.9041, allocations: 414.7 kB / 0.8878 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.9053, allocations: 0.7984 MB / 0.8886 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.9069, allocations: 1.291 MB / 0.8898 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/0.9099, allocations: 2.14 MB / 0.8919 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.9099, allocations: 8 kB / 0.8919 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003432/0.9134, allocations: 2.163 MB / 0.894 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.9134, allocations: 13 kB / 0.894 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.9134, allocations: 12 kB / 0.8941 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.942e-05/0.9135, allocations: 35.92 kB / 0.8941 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.915, allocations: 411.2 kB / 0.8945 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.081e-05/0.9151, allocations: 27.92 kB / 0.8945 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.9163, allocations: 195.3 kB / 0.8947 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.9164, allocations: 59.98 kB / 0.8948 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002727/0.9192, allocations: 1.658 MB / 0.8964 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001347/0.9205, allocations: 1.166 MB / 0.8975 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002335/0.9229, allocations: 1.878 MB / 0.8993 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.328e-06/0.9229, allocations: 7.938 kB / 0.8994 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002925/0.9258, allocations: 1.883 MB / 0.9012 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.9259, allocations: 15.94 kB / 0.9012 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.9259, allocations: 19.98 kB / 0.9012 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.9259, allocations: 20.66 kB / 0.9012 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.9272, allocations: 355.4 kB / 0.9016 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.759e-05/0.9272, allocations: 35.86 kB / 0.9016 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.9283, allocations: 163.6 kB / 0.9018 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.17e-05/0.9284, allocations: 56 kB / 0.9018 GB, free: 15.2 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0003694/0.9288, allocations: 263.8 kB / 0.9021 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.9291, allocations: 102.8 kB / 0.9022 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002988/0.9321, allocations: 1.849 MB / 0.904 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.9321, allocations: 8 kB / 0.904 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.9321, allocations: 4 kB / 0.904 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.9321, allocations: 3.984 kB / 0.904 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.9462, allocations: 9.577 MB / 0.9133 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.9462, allocations: 12 kB / 0.9134 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.9474, allocations: 307.5 kB / 0.9137 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.9474, allocations: 16 kB / 0.9137 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/0.9475, allocations: 32.52 kB / 0.9137 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.577e-05/0.9475, allocations: 27.88 kB / 0.9137 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/0.9476, allocations: 19.88 kB / 0.9137 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.9506, allocations: 2.398 MB / 0.9161 GB, free: 160 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006814/0.9512, allocations: 375.6 kB / 0.9164 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.9514, allocations: 28 kB / 0.9165 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/0.9523, allocations: 143.7 kB / 0.9166 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.9525, allocations: 87.67 kB / 0.9167 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/0.9526, allocations: 36 kB / 0.9167 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008112/0.9534, allocations: 0.5926 MB / 0.9173 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9534, allocations: 0 / 0.9173 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003056/0.9565, allocations: 0.7461 MB / 0.918 GB, free: 14.15 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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.0002715/0.9568, allocations: 154.9 kB / 0.9182 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004584/0.9614, allocations: 2.859 MB / 0.921 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.9614, allocations: 4 kB / 0.921 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.9628, allocations: 0.9156 MB / 0.9219 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.9647, allocations: 306.5 kB / 0.9222 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009738/0.9745, allocations: 4.976 MB / 0.927 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/0.977, allocations: 2.131 MB / 0.9291 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001996/0.979, allocations: 0.7266 MB / 0.9298 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/0.9794, allocations: 83.42 kB / 0.9299 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of SimCode: time 1.192e-06/0.9794, allocations: 0 / 0.9299 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of Templates: time 0.03036/1.01, allocations: 17.37 MB / 0.9469 GB, free: 0.625 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)