Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001337/0.001337, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001523/0.001523, allocations: 197.2 kB / 16.14 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002666/0.002667, allocations: 279 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.115/1.115, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002901/0.002901, allocations: 100.8 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1776, allocations: 89.15 MB / 0.6928 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02484/0.2025, allocations: 20.26 MB / 0.7126 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.2153, allocations: 7.724 MB / 0.7201 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.2168, allocations: 55.75 kB / 0.7202 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.2201, allocations: 1.252 MB / 0.7214 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.2225, allocations: 0.9497 MB / 0.7223 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.227, allocations: 1.836 MB / 0.7241 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006958/0.2339, allocations: 6.449 MB / 0.7304 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.2441, allocations: 6.859 MB / 0.7371 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.2468, allocations: 1.554 MB / 0.7386 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/0.2505, allocations: 2.251 MB / 0.7408 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006899/0.2512, allocations: 292 kB / 0.7411 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.2533, allocations: 0.9673 MB / 0.7421 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001795/0.2551, allocations: 1.52 MB / 0.7435 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002009/0.2571, allocations: 1.568 MB / 0.7451 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00613/0.2633, allocations: 6.096 MB / 0.751 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2633, allocations: 4 kB / 0.751 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2633, allocations: 0 / 0.751 GB, free: 9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001544/0.2635, allocations: 0 / 0.751 GB, free: 9 MB / 0.545 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.006504/0.27, allocations: 3.04 MB / 0.754 GB, free: 5.898 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.27, allocations: 11.97 kB / 0.754 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003704/0.2737, allocations: 0.7429 MB / 0.7547 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/0.2765, allocations: 1.547 MB / 0.7563 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.2767, allocations: 218.1 kB / 0.7565 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004985/0.2772, allocations: 280.4 kB / 0.7567 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2865/0.5638, allocations: 5.081 MB / 0.7617 GB, free: 63.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.087e-05/0.5639, allocations: 10.02 kB / 0.7617 GB, free: 63.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.5642, allocations: 126.5 kB / 0.7618 GB, free: 63.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002673/0.5645, allocations: 211.4 kB / 0.762 GB, free: 63.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007412/0.5719, allocations: 4.226 MB / 0.7661 GB, free: 61.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/0.5927, allocations: 23.09 MB / 0.7887 GB, free: 43.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/0.5952, allocations: 1.736 MB / 0.7904 GB, free: 42.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.5967, allocations: 1.137 MB / 0.7915 GB, free: 42.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.5968, allocations: 106.6 kB / 0.7916 GB, free: 42.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.5968, allocations: 43.91 kB / 0.7916 GB, free: 42.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 2.825e-06/0.5969, allocations: 0 / 0.7916 GB, free: 42.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=87): time 0.005354/0.6022, allocations: 4.011 MB / 0.7956 GB, free: 39.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.6023, allocations: 138.5 kB / 0.7957 GB, free: 39.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.6033, allocations: 0.872 MB / 0.7965 GB, free: 39.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.082e-05/0.6034, allocations: 41.92 kB / 0.7966 GB, free: 39.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/0.6039, allocations: 1.153 MB / 0.7977 GB, free: 38.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.6041, allocations: 312.1 kB / 0.798 GB, free: 37.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/0.6046, allocations: 280.2 kB / 0.7983 GB, free: 37.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6047, allocations: 407.3 kB / 0.7987 GB, free: 37.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.6059, allocations: 0.8206 MB / 0.7995 GB, free: 36.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.6072, allocations: 1.316 MB / 0.8007 GB, free: 35.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/0.6098, allocations: 2.172 MB / 0.8029 GB, free: 34.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.6098, allocations: 3.812 kB / 0.8029 GB, free: 34.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003334/0.6131, allocations: 2.208 MB / 0.805 GB, free: 33.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.6132, allocations: 10.88 kB / 0.805 GB, free: 33.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.6132, allocations: 15.08 kB / 0.8051 GB, free: 33.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/0.6132, allocations: 20.47 kB / 0.8051 GB, free: 33.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.6148, allocations: 421.1 kB / 0.8055 GB, free: 32.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.969e-05/0.6149, allocations: 32.86 kB / 0.8055 GB, free: 32.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.6162, allocations: 210.2 kB / 0.8057 GB, free: 32.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6163, allocations: 63.05 kB / 0.8058 GB, free: 32.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002333/0.6187, allocations: 1.683 MB / 0.8074 GB, free: 31.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001184/0.6199, allocations: 1.189 MB / 0.8086 GB, free: 30.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002013/0.6219, allocations: 1.899 MB / 0.8104 GB, free: 29.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.053e-06/0.6219, allocations: 7.25 kB / 0.8104 GB, free: 29.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002807/0.6247, allocations: 1.927 MB / 0.8123 GB, free: 28.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6247, allocations: 11 kB / 0.8123 GB, free: 28.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.6248, allocations: 16 kB / 0.8123 GB, free: 28.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6248, allocations: 27.81 kB / 0.8124 GB, free: 28.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.6261, allocations: 365.4 kB / 0.8127 GB, free: 28.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.6261, allocations: 31.61 kB / 0.8127 GB, free: 28.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6273, allocations: 174.7 kB / 0.8129 GB, free: 28.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/0.6274, allocations: 63.52 kB / 0.813 GB, free: 28.24 MB / 0.545 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.0004188/0.6279, allocations: 276.1 kB / 0.8132 GB, free: 27.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.6281, allocations: 98.28 kB / 0.8133 GB, free: 27.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.6305, allocations: 1.848 MB / 0.8151 GB, free: 26.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.6306, allocations: 11.66 kB / 0.8151 GB, free: 26.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.6306, allocations: 4 kB / 0.8152 GB, free: 26.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.6306, allocations: 7.922 kB / 0.8152 GB, free: 26.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009882/0.6405, allocations: 9.579 MB / 0.8245 GB, free: 19.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.6405, allocations: 12 kB / 0.8245 GB, free: 19.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.6416, allocations: 319.5 kB / 0.8248 GB, free: 18.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.6417, allocations: 19.94 kB / 0.8248 GB, free: 18.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.197e-05/0.6417, allocations: 28 kB / 0.8249 GB, free: 18.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/0.6417, allocations: 23.92 kB / 0.8249 GB, free: 18.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-06/0.6418, allocations: 15.94 kB / 0.8249 GB, free: 18.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.6439, allocations: 2.402 MB / 0.8273 GB, free: 16.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/0.6444, allocations: 379.6 kB / 0.8276 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.6446, allocations: 35.88 kB / 0.8277 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.6455, allocations: 143.8 kB / 0.8278 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.6457, allocations: 95.61 kB / 0.8279 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/0.6458, allocations: 36 kB / 0.8279 GB, free: 15.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007169/0.6465, allocations: 0.6122 MB / 0.8285 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6465, allocations: 0 / 0.8285 GB, free: 14.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002296/0.6488, allocations: 0.7539 MB / 0.8293 GB, free: 14.15 MB / 0.545 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.0002015/0.649, allocations: 139 kB / 0.8294 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00346/0.6525, allocations: 2.877 MB / 0.8322 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6525, allocations: 0 / 0.8322 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.6535, allocations: 0.9113 MB / 0.8331 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.6551, allocations: 288.5 kB / 0.8334 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/0.6613, allocations: 6.207 MB / 0.8394 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.6628, allocations: 2.127 MB / 0.8415 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001769/0.6646, allocations: 0.7563 MB / 0.8422 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.6649, allocations: 79.42 kB / 0.8423 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.665, allocations: 0 / 0.8423 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of Templates: time 0.03164/0.6966, allocations: 17.3 MB / 0.8592 GB, free: 15.5 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)