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.00113/0.00113, allocations: 109 kB / 16.37 MB, free: 6.477 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.001187/0.001187, allocations: 189.8 kB / 17.31 MB, free: 5.82 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.342/1.342, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.53 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.00265/0.00265, allocations: 60.12 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2316, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.4075/0.6391, allocations: 20.43 MB / 0.8047 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.6526, allocations: 7.569 MB / 0.8121 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.6554, allocations: 63.5 kB / 0.8122 GB, free: 33.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003942/0.6594, allocations: 1.351 MB / 0.8135 GB, free: 32.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003632/0.6631, allocations: 0.9747 MB / 0.8145 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005967/0.6691, allocations: 1.998 MB / 0.8164 GB, free: 31.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006747/0.6758, allocations: 4.32 MB / 0.8206 GB, free: 29.35 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01131/0.6872, allocations: 6.253 MB / 0.8267 GB, free: 27.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004265/0.6915, allocations: 1.847 MB / 0.8285 GB, free: 26.26 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004597/0.6961, allocations: 2.199 MB / 0.8307 GB, free: 25.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.698, allocations: 427.7 kB / 0.8311 GB, free: 25.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.7015, allocations: 0.9113 MB / 0.832 GB, free: 25.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00377/0.7053, allocations: 1.652 MB / 0.8336 GB, free: 24.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00598/0.7113, allocations: 1.713 MB / 0.8353 GB, free: 23.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.7224, allocations: 6.171 MB / 0.8413 GB, free: 21.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7224, allocations: 4 kB / 0.8413 GB, free: 21.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7224, allocations: 0 / 0.8413 GB, free: 21.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000245/0.7227, allocations: 0.9062 kB / 0.8413 GB, free: 21.42 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.01317/0.7359, allocations: 3.044 MB / 0.8443 GB, free: 19.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.7359, allocations: 10.09 kB / 0.8443 GB, free: 19.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/0.7406, allocations: 0.6797 MB / 0.845 GB, free: 19.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004543/0.7452, allocations: 1.57 MB / 0.8465 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.7455, allocations: 219 kB / 0.8467 GB, free: 18.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001953/0.7475, allocations: 286.3 kB / 0.847 GB, free: 18.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/0.7638, allocations: 5.049 MB / 0.8519 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.764, allocations: 7.375 kB / 0.8519 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000796/0.7648, allocations: 125.2 kB / 0.852 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002875/0.7651, allocations: 213 kB / 0.8522 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009323/0.7744, allocations: 4.176 MB / 0.8563 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02906/0.8035, allocations: 22.86 MB / 0.8786 GB, free: 7.832 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/0.8068, allocations: 1.711 MB / 0.8803 GB, free: 6.32 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.8084, allocations: 1.137 MB / 0.8814 GB, free: 5.168 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.8086, allocations: 97.75 kB / 0.8815 GB, free: 5.055 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.8087, allocations: 55.14 kB / 0.8816 GB, free: 4.992 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.8087, allocations: 1.406 kB / 0.8816 GB, free: 4.992 MB / 0.67 GB Notification: Performance of matching and sorting (n=87): time 0.006771/0.8155, allocations: 3.981 MB / 0.8854 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.8156, allocations: 149.1 kB / 0.8856 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.8168, allocations: 0.8453 MB / 0.8864 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.8169, allocations: 45.7 kB / 0.8865 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008296/0.8177, allocations: 1.158 MB / 0.8876 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/0.8181, allocations: 315.5 kB / 0.8879 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004913/0.8186, allocations: 270.6 kB / 0.8881 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.8189, allocations: 406.7 kB / 0.8885 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.8202, allocations: 0.8023 MB / 0.8893 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.8219, allocations: 1.299 MB / 0.8906 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/0.8251, allocations: 2.132 MB / 0.8927 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.8251, allocations: 4 kB / 0.8927 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003633/0.8287, allocations: 2.175 MB / 0.8948 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.8288, allocations: 18.38 kB / 0.8948 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.8288, allocations: 16 kB / 0.8948 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.059e-05/0.8289, allocations: 20 kB / 0.8949 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.8305, allocations: 403.3 kB / 0.8952 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.872e-05/0.8305, allocations: 28.3 kB / 0.8953 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.8319, allocations: 195.4 kB / 0.8954 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.832, allocations: 63.98 kB / 0.8955 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003177/0.8352, allocations: 1.658 MB / 0.8971 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001419/0.8367, allocations: 1.174 MB / 0.8983 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002454/0.8391, allocations: 1.87 MB / 0.9001 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.289e-05/0.8392, allocations: 7.938 kB / 0.9001 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003048/0.8422, allocations: 1.886 MB / 0.902 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.8423, allocations: 13.75 kB / 0.902 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.8423, allocations: 16 kB / 0.902 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.8423, allocations: 20 kB / 0.902 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.8436, allocations: 355.4 kB / 0.9023 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/0.8437, allocations: 35.86 kB / 0.9024 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.8449, allocations: 163.4 kB / 0.9025 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.845, allocations: 59.98 kB / 0.9026 GB, free: 14.46 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.0004311/0.8455, allocations: 263.8 kB / 0.9028 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.8458, allocations: 106.8 kB / 0.9029 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.8488, allocations: 1.838 MB / 0.9047 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.8488, allocations: 12 kB / 0.9047 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.8489, allocations: 11.98 kB / 0.9048 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.8489, allocations: 3.984 kB / 0.9048 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.8636, allocations: 9.572 MB / 0.9141 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/0.8637, allocations: 16.25 kB / 0.9141 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.865, allocations: 311.5 kB / 0.9144 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.995e-05/0.865, allocations: 16 kB / 0.9144 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-05/0.8651, allocations: 28 kB / 0.9145 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.143e-05/0.8652, allocations: 31.8 kB / 0.9145 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-05/0.8652, allocations: 15.94 kB / 0.9145 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.8683, allocations: 2.402 MB / 0.9169 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007627/0.8691, allocations: 371.6 kB / 0.9172 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.8693, allocations: 31.89 kB / 0.9172 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009656/0.8703, allocations: 139.7 kB / 0.9174 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.8705, allocations: 91.67 kB / 0.9175 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/0.8706, allocations: 40 kB / 0.9175 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008236/0.8714, allocations: 0.5849 MB / 0.9181 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8714, allocations: 0 / 0.9181 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003024/0.8744, allocations: 0.7461 MB / 0.9188 GB, free: 13.41 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.0002934/0.8747, allocations: 150.9 kB / 0.9189 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004524/0.8793, allocations: 2.859 MB / 0.9217 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.8793, allocations: 3.938 kB / 0.9217 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.8808, allocations: 0.9116 MB / 0.9226 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.8829, allocations: 310.2 kB / 0.9229 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009542/0.8925, allocations: 5.425 MB / 0.9282 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/0.8949, allocations: 2.199 MB / 0.9304 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/0.8955, allocations: 95.41 kB / 0.9305 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.8955, allocations: 0 / 0.9305 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of Templates: time 0.04423/0.9398, allocations: 27.72 MB / 0.9575 GB, free: 5.664 MB / 0.7481 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)