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.001107/0.001107, allocations: 102.3 kB / 16.35 MB, free: 6.34 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.001128/0.001129, allocations: 189.3 kB / 17.29 MB, free: 5.918 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.384/1.384, 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.809/1.809, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001503/0.001503, allocations: 70.09 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2418, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.486/0.7279, allocations: 20.41 MB / 0.8047 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.7417, allocations: 7.575 MB / 0.8121 GB, free: 33.85 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.7449, allocations: 63.03 kB / 0.8122 GB, free: 33.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003829/0.7488, allocations: 1.348 MB / 0.8135 GB, free: 33.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.7525, allocations: 0.9803 MB / 0.8144 GB, free: 32.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005926/0.7584, allocations: 1.995 MB / 0.8164 GB, free: 31.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00887/0.7673, allocations: 4.317 MB / 0.8206 GB, free: 29.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.7781, allocations: 6.262 MB / 0.8267 GB, free: 27.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003987/0.7821, allocations: 1.844 MB / 0.8285 GB, free: 26.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004605/0.7867, allocations: 2.187 MB / 0.8307 GB, free: 25.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001842/0.7886, allocations: 427.9 kB / 0.8311 GB, free: 25.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.7918, allocations: 0.9126 MB / 0.832 GB, free: 25.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002799/0.7946, allocations: 1.656 MB / 0.8336 GB, free: 24.63 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003244/0.7979, allocations: 1.712 MB / 0.8353 GB, free: 23.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009458/0.8073, allocations: 6.161 MB / 0.8413 GB, free: 21.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.8074, allocations: 1.125 kB / 0.8413 GB, free: 21.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8074, allocations: 0 / 0.8413 GB, free: 21.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002172/0.8076, allocations: 2.859 kB / 0.8413 GB, free: 21.6 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.01155/0.8192, allocations: 3.038 MB / 0.8442 GB, free: 19.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.8192, allocations: 9.656 kB / 0.8442 GB, free: 19.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/0.8231, allocations: 0.6897 MB / 0.8449 GB, free: 19.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/0.827, allocations: 1.541 MB / 0.8464 GB, free: 18.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.8272, allocations: 215.5 kB / 0.8466 GB, free: 18.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007825/0.828, allocations: 285.7 kB / 0.8469 GB, free: 18.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.8386, allocations: 5.053 MB / 0.8518 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.819e-05/0.8387, allocations: 11.83 kB / 0.8519 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/0.8391, allocations: 124.8 kB / 0.852 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002871/0.8394, allocations: 205.8 kB / 0.8522 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007851/0.8472, allocations: 4.184 MB / 0.8563 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02685/0.8741, allocations: 22.86 MB / 0.8786 GB, free: 7.977 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/0.8771, allocations: 1.712 MB / 0.8802 GB, free: 6.52 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.8787, allocations: 1.137 MB / 0.8814 GB, free: 5.367 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.8789, allocations: 97.73 kB / 0.8815 GB, free: 5.254 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.879, allocations: 55.16 kB / 0.8815 GB, free: 5.191 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 3.056e-06/0.879, allocations: 0 / 0.8815 GB, free: 5.191 MB / 0.67 GB Notification: Performance of matching and sorting (n=87): time 0.006557/0.8856, allocations: 3.985 MB / 0.8854 GB, free: 1.172 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.8857, allocations: 137.7 kB / 0.8855 GB, free: 1.008 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.8869, allocations: 0.8586 MB / 0.8864 GB, free: 148 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/0.887, allocations: 37.7 kB / 0.8864 GB, free: 104 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008934/0.8879, allocations: 1.162 MB / 0.8875 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/0.8882, allocations: 315.5 kB / 0.8878 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/0.8887, allocations: 266.6 kB / 0.8881 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.8889, allocations: 410.7 kB / 0.8885 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8902, allocations: 0.7984 MB / 0.8893 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.8917, allocations: 1.295 MB / 0.8905 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002791/0.8945, allocations: 2.143 MB / 0.8926 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.8945, allocations: 4 kB / 0.8926 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003496/0.898, allocations: 2.171 MB / 0.8947 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.898, allocations: 12 kB / 0.8948 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.8981, allocations: 12 kB / 0.8948 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/0.8981, allocations: 24 kB / 0.8948 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.8997, allocations: 407.3 kB / 0.8952 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-05/0.8997, allocations: 32.3 kB / 0.8952 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.901, allocations: 199.3 kB / 0.8954 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.9011, allocations: 59.98 kB / 0.8955 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00293/0.904, allocations: 1.654 MB / 0.8971 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001481/0.9055, allocations: 1.166 MB / 0.8982 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00234/0.9079, allocations: 1.874 MB / 0.9 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.668e-06/0.9079, allocations: 7.938 kB / 0.9 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002842/0.9108, allocations: 1.884 MB / 0.9019 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.9108, allocations: 12.78 kB / 0.9019 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.9108, allocations: 16 kB / 0.9019 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.9108, allocations: 24.22 kB / 0.9019 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.9121, allocations: 359.4 kB / 0.9023 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/0.9121, allocations: 35.86 kB / 0.9023 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.9132, allocations: 155.4 kB / 0.9025 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/0.9133, allocations: 62.89 kB / 0.9025 GB, free: 14.67 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.0003806/0.9137, allocations: 267.8 kB / 0.9028 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.914, allocations: 106.8 kB / 0.9029 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.9168, allocations: 1.846 MB / 0.9047 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.9168, allocations: 12 kB / 0.9047 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.9168, allocations: 4 kB / 0.9047 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.9169, allocations: 7.984 kB / 0.9047 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.9304, allocations: 9.577 MB / 0.9141 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/0.9305, allocations: 16.06 kB / 0.9141 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.9317, allocations: 311.4 kB / 0.9144 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/0.9318, allocations: 16 kB / 0.9144 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/0.9319, allocations: 28 kB / 0.9144 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-05/0.9319, allocations: 27.86 kB / 0.9144 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/0.9319, allocations: 19.92 kB / 0.9145 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.9348, allocations: 2.402 MB / 0.9168 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00074/0.9355, allocations: 371.6 kB / 0.9172 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.9357, allocations: 31.91 kB / 0.9172 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/0.9366, allocations: 139.7 kB / 0.9173 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.9368, allocations: 91.67 kB / 0.9174 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.9369, allocations: 36 kB / 0.9174 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007582/0.9376, allocations: 0.5926 MB / 0.918 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9376, allocations: 0 / 0.918 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002584/0.9402, allocations: 0.7461 MB / 0.9188 GB, free: 13.6 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.000255/0.9405, allocations: 146.9 kB / 0.9189 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003963/0.9445, allocations: 2.858 MB / 0.9217 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.9445, allocations: 4 kB / 0.9217 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.9457, allocations: 0.9116 MB / 0.9226 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.9476, allocations: 293.2 kB / 0.9229 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007814/0.9554, allocations: 4.985 MB / 0.9277 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.9574, allocations: 2.131 MB / 0.9298 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001867/0.9593, allocations: 0.7306 MB / 0.9305 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.9597, allocations: 87.36 kB / 0.9306 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/0.9597, allocations: 0 / 0.9306 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of Templates: time 0.02972/0.9894, allocations: 17.36 MB / 0.9476 GB, free: 108 kB / 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)