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.001022/0.001022, 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.001241/0.001241, allocations: 197 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.547/1.547, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.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.735/1.735, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001265/0.001265, allocations: 68.23 kB / 0.6708 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.247, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02131/0.2683, allocations: 20.27 MB / 0.8025 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.2812, allocations: 7.605 MB / 0.8099 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.2836, allocations: 51.81 kB / 0.8099 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003401/0.2871, allocations: 1.259 MB / 0.8112 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.2901, allocations: 0.9147 MB / 0.8121 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00522/0.2954, allocations: 1.854 MB / 0.8139 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00632/0.3017, allocations: 6.441 MB / 0.8202 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008957/0.3107, allocations: 6.862 MB / 0.8269 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.3133, allocations: 1.558 MB / 0.8284 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/0.3168, allocations: 2.24 MB / 0.8306 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005501/0.3174, allocations: 292 kB / 0.8309 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.3194, allocations: 0.9438 MB / 0.8318 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.321, allocations: 1.524 MB / 0.8333 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.323, allocations: 1.571 MB / 0.8348 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005557/0.3285, allocations: 6.073 MB / 0.8407 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3286, allocations: 0 / 0.8407 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3286, allocations: 0 / 0.8407 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001056/0.3287, allocations: 0 / 0.8407 GB, free: 2.363 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.005904/0.3346, allocations: 3.036 MB / 0.8437 GB, free: 15.26 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.3347, allocations: 8.031 kB / 0.8437 GB, free: 15.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.3376, allocations: 0.6883 MB / 0.8444 GB, free: 14.56 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/0.3401, allocations: 1.528 MB / 0.8459 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.3403, allocations: 222.1 kB / 0.8461 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004093/0.3407, allocations: 292.2 kB / 0.8464 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008095/0.3488, allocations: 5.043 MB / 0.8513 GB, free: 7.254 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/0.3489, allocations: 7.938 kB / 0.8513 GB, free: 7.246 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/0.3492, allocations: 128 kB / 0.8514 GB, free: 7.121 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/0.3495, allocations: 208.6 kB / 0.8516 GB, free: 6.914 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006542/0.356, allocations: 4.188 MB / 0.8557 GB, free: 2.711 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02451/0.3806, allocations: 23 MB / 0.8782 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.3832, allocations: 1.723 MB / 0.8798 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.3847, allocations: 1.126 MB / 0.8809 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.3849, allocations: 101.7 kB / 0.881 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3849, allocations: 51.22 kB / 0.8811 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.565e-06/0.3849, allocations: 0 / 0.8811 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.005544/0.3905, allocations: 3.992 MB / 0.885 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.3906, allocations: 141.1 kB / 0.8851 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009737/0.3916, allocations: 0.8486 MB / 0.886 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.3917, allocations: 46.27 kB / 0.886 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006402/0.3923, allocations: 1.154 MB / 0.8871 GB, free: 224 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.3926, allocations: 315.7 kB / 0.8874 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.393, allocations: 266.5 kB / 0.8877 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3932, allocations: 414.7 kB / 0.8881 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3943, allocations: 0.7984 MB / 0.8889 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.3957, allocations: 1.291 MB / 0.8901 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.3982, allocations: 2.14 MB / 0.8922 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.3983, allocations: 7.984 kB / 0.8922 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003157/0.4014, allocations: 2.164 MB / 0.8943 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.4015, allocations: 8 kB / 0.8943 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.4015, allocations: 19.98 kB / 0.8944 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.4015, allocations: 20 kB / 0.8944 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.403, allocations: 407.2 kB / 0.8948 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/0.403, allocations: 31.92 kB / 0.8948 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.4042, allocations: 195.4 kB / 0.895 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.4043, allocations: 67.92 kB / 0.895 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002484/0.4068, allocations: 1.662 MB / 0.8967 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001197/0.408, allocations: 1.166 MB / 0.8978 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002073/0.4101, allocations: 1.874 MB / 0.8996 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.894e-06/0.4101, allocations: 11.94 kB / 0.8996 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002666/0.4127, allocations: 1.886 MB / 0.9015 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4128, allocations: 8 kB / 0.9015 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.853e-05/0.4129, allocations: 16 kB / 0.9015 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4129, allocations: 24.75 kB / 0.9015 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.4141, allocations: 359.4 kB / 0.9019 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/0.4141, allocations: 31.86 kB / 0.9019 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.4151, allocations: 163.4 kB / 0.9021 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4153, allocations: 52.05 kB / 0.9021 GB, free: 15.95 MB / 0.7325 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.0003926/0.4157, allocations: 271.7 kB / 0.9024 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.4159, allocations: 98.97 kB / 0.9025 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.4189, allocations: 1.839 MB / 0.9043 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.4189, allocations: 19.94 kB / 0.9043 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.4189, allocations: 0 / 0.9043 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4189, allocations: 3.984 kB / 0.9043 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.4321, allocations: 9.585 MB / 0.9136 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.4322, allocations: 12.25 kB / 0.9137 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.4335, allocations: 311.4 kB / 0.914 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-05/0.4335, allocations: 16 kB / 0.914 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/0.4336, allocations: 28 kB / 0.914 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.077e-05/0.4336, allocations: 27.81 kB / 0.914 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.535e-05/0.4336, allocations: 19.94 kB / 0.914 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.4369, allocations: 2.39 MB / 0.9164 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/0.4376, allocations: 375.6 kB / 0.9167 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.4377, allocations: 39.92 kB / 0.9168 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000877/0.4386, allocations: 131.7 kB / 0.9169 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.4388, allocations: 95.45 kB / 0.917 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.4389, allocations: 36 kB / 0.917 GB, free: 240 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.4885/0.9274, allocations: 0.5872 MB / 0.9176 GB, free: 127.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9275, allocations: 0 / 0.9176 GB, free: 127.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00346/0.9309, allocations: 0.7494 MB / 0.9183 GB, free: 127.7 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 (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.0002522/0.9312, allocations: 146.8 kB / 0.9185 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004772/0.936, allocations: 2.831 MB / 0.9212 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.936, allocations: 1.875 kB / 0.9212 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.9372, allocations: 0.9121 MB / 0.9221 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.9389, allocations: 278.6 kB / 0.9224 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.9465, allocations: 6.211 MB / 0.9285 GB, free: 124 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.9486, allocations: 2.132 MB / 0.9305 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002104/0.9508, allocations: 0.7434 MB / 0.9313 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.9512, allocations: 82.59 kB / 0.9313 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/0.9512, allocations: 0 / 0.9313 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.03226/0.9834, allocations: 16.74 MB / 0.9477 GB, free: 119.2 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)