Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001448/0.001448, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.591/1.591, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 251.7 MB / 0.5088 GB, free: 3.32 MB / 414.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.002177/0.002177, allocations: 59.91 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.6403, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04453/0.6849, allocations: 36.92 MB / 0.7599 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.7107, allocations: 13.64 MB / 0.7732 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005543/0.7163, allocations: 99.62 kB / 0.7733 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006549/0.723, allocations: 2.115 MB / 0.7753 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.7282, allocations: 1.339 MB / 0.7767 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.7384, allocations: 3.258 MB / 0.7798 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01059/0.749, allocations: 9.581 MB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01666/0.7657, allocations: 11.21 MB / 0.8001 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.7701, allocations: 2.282 MB / 0.8024 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006306/0.7765, allocations: 3.295 MB / 0.8056 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001999/0.7785, allocations: 432 kB / 0.806 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.782, allocations: 1.233 MB / 0.8072 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003653/0.7857, allocations: 2.277 MB / 0.8094 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004938/0.7907, allocations: 2.33 MB / 0.8117 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.8021, allocations: 8.99 MB / 0.8205 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.8022, allocations: 0 / 0.8205 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.816e-06/0.8022, allocations: 0 / 0.8205 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003972/0.8026, allocations: 0 / 0.8205 GB, free: 9.789 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01358/0.8162, allocations: 4.295 MB / 0.8247 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.8162, allocations: 12.03 kB / 0.8247 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004416/0.8207, allocations: 0.9482 MB / 0.8256 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.8252, allocations: 2.187 MB / 0.8277 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.8255, allocations: 325 kB / 0.8281 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.8267, allocations: 428.3 kB / 0.8285 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.8407, allocations: 7.366 MB / 0.8357 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.8409, allocations: 15.84 kB / 0.8357 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005849/0.8415, allocations: 184 kB / 0.8358 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003247/0.8418, allocations: 286.9 kB / 0.8361 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.853, allocations: 5.959 MB / 0.8419 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04298/0.896, allocations: 32.63 MB / 0.8738 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.8992, allocations: 2.115 MB / 0.8759 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.9008, allocations: 1.236 MB / 0.8771 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.901, allocations: 102 kB / 0.8772 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.901, allocations: 47.55 kB / 0.8772 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=98): time 3.056e-06/0.9011, allocations: 4 kB / 0.8772 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of matching and sorting (n=101): time 0.007613/0.9087, allocations: 5.223 MB / 0.8823 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.9088, allocations: 145.4 kB / 0.8825 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.9106, allocations: 1.456 MB / 0.8839 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.9108, allocations: 41.7 kB / 0.8839 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.9119, allocations: 1.863 MB / 0.8857 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.9123, allocations: 371 kB / 0.8861 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006282/0.9129, allocations: 467 kB / 0.8865 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.913, allocations: 301.1 kB / 0.8868 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.9145, allocations: 1.122 MB / 0.8879 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.9166, allocations: 2.184 MB / 0.8901 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003736/0.9204, allocations: 3.399 MB / 0.8934 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/0.9204, allocations: 16 kB / 0.8934 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00499/0.9254, allocations: 3.312 MB / 0.8966 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.9255, allocations: 20 kB / 0.8966 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.632e-05/0.9255, allocations: 39.98 kB / 0.8967 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.088e-05/0.9256, allocations: 44 kB / 0.8967 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.9276, allocations: 0.6238 MB / 0.8973 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-05/0.9277, allocations: 67.72 kB / 0.8974 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.9295, allocations: 314.8 kB / 0.8977 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.9297, allocations: 116 kB / 0.8978 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00371/0.9335, allocations: 2.405 MB / 0.9002 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002079/0.9355, allocations: 2.008 MB / 0.9021 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003366/0.9389, allocations: 3.025 MB / 0.9051 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.918e-05/0.939, allocations: 19.94 kB / 0.9051 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004231/0.9432, allocations: 2.917 MB / 0.9079 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.9433, allocations: 20 kB / 0.908 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.9433, allocations: 36 kB / 0.908 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.829e-05/0.9433, allocations: 48 kB / 0.908 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.9451, allocations: 0.5581 MB / 0.9086 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-05/0.9451, allocations: 75.66 kB / 0.9087 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/0.9473, allocations: 243 kB / 0.9089 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.9475, allocations: 112 kB / 0.909 GB, free: 9.648 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0008266/0.9483, allocations: 343.2 kB / 0.9093 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/0.9488, allocations: 154.1 kB / 0.9095 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.9521, allocations: 2.227 MB / 0.9116 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.9521, allocations: 19.92 kB / 0.9117 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.9521, allocations: 0 / 0.9117 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.9522, allocations: 7.984 kB / 0.9117 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5621/1.514, allocations: 10.97 MB / 0.9224 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/1.514, allocations: 11.5 kB / 0.9224 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.516, allocations: 388.5 kB / 0.9228 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.427e-05/1.516, allocations: 16.22 kB / 0.9228 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.516, allocations: 30.48 kB / 0.9228 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.063e-05/1.516, allocations: 23.8 kB / 0.9228 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.642e-05/1.516, allocations: 16.19 kB / 0.9228 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004358/1.521, allocations: 2.765 MB / 0.9255 GB, free: 175.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.522, allocations: 449.1 kB / 0.926 GB, free: 175.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/1.522, allocations: 36.45 kB / 0.926 GB, free: 175.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.523, allocations: 167.7 kB / 0.9262 GB, free: 175.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.523, allocations: 100.5 kB / 0.9263 GB, free: 175.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.524, allocations: 37.47 kB / 0.9263 GB, free: 175.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001858/1.525, allocations: 0.9791 MB / 0.9273 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.525, allocations: 0 / 0.9273 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006109/1.532, allocations: 1.126 MB / 0.9284 GB, free: 175.1 MB / 0.7325 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 (104): * Single equations (assignments): 104 * 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.0002828/1.532, allocations: 145.9 kB / 0.9285 GB, free: 175 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005737/1.538, allocations: 3.987 MB / 0.9324 GB, free: 173.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.538, allocations: 3.969 kB / 0.9324 GB, free: 173.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/1.539, allocations: 1.059 MB / 0.9334 GB, free: 173.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.542, allocations: 413.6 kB / 0.9338 GB, free: 173.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.556, allocations: 8.787 MB / 0.9424 GB, free: 168.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003266/1.559, allocations: 2.866 MB / 0.9452 GB, free: 167 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002942/1.562, allocations: 1.204 MB / 0.9464 GB, free: 166.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/1.562, allocations: 120.8 kB / 0.9465 GB, free: 166.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/1.562, allocations: 0 / 0.9465 GB, free: 166.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.03753/1.6, allocations: 23.67 MB / 0.9696 GB, free: 143.9 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)