Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.0008295/0.0008295, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005019/0.00502, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004573, allocations: 8.469 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3623, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02317/0.3855, allocations: 19.65 MB / 1.093 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.3993, allocations: 7.659 MB / 1.101 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.4014, allocations: 51.81 kB / 1.101 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.4026, allocations: 369.3 kB / 1.101 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.4055, allocations: 0.9341 MB / 1.102 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.4096, allocations: 1.321 MB / 1.103 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007877/0.4175, allocations: 6.453 MB / 1.11 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.4294, allocations: 7.509 MB / 1.117 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.4324, allocations: 1.257 MB / 1.118 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003739/0.4362, allocations: 1.881 MB / 1.12 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005451/0.4367, allocations: 179.9 kB / 1.12 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.4389, allocations: 0.8579 MB / 1.121 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0018/0.4407, allocations: 1.333 MB / 1.122 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.4427, allocations: 1.378 MB / 1.124 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006941/0.4496, allocations: 5.888 MB / 1.13 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4497, allocations: 0 / 1.13 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.487e-06/0.4497, allocations: 0 / 1.13 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000205/0.4499, allocations: 0 / 1.13 GB, free: 14.59 MB / 0.8887 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.00625/0.4562, allocations: 2.451 MB / 1.132 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4562, allocations: 8.031 kB / 1.132 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004165/0.4604, allocations: 0.7585 MB / 1.133 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.4636, allocations: 1.532 MB / 1.134 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.4639, allocations: 222.1 kB / 1.134 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007048/0.4646, allocations: 284.3 kB / 1.135 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009642/0.4742, allocations: 5.09 MB / 1.14 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.77e-05/0.4744, allocations: 7.938 kB / 1.14 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003501/0.4747, allocations: 124 kB / 1.14 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/0.475, allocations: 208.6 kB / 1.14 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007996/0.483, allocations: 4.237 MB / 1.144 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/0.5119, allocations: 23.08 MB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/0.5153, allocations: 1.743 MB / 1.168 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.5172, allocations: 1.134 MB / 1.169 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.5174, allocations: 101.7 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.5175, allocations: 43.22 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 3.326e-06/0.5175, allocations: 4 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.008175/0.5257, allocations: 4.024 MB / 1.173 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/0.5258, allocations: 145.1 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.5273, allocations: 0.8681 MB / 1.174 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.5275, allocations: 41.7 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.5285, allocations: 1.158 MB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/0.5289, allocations: 315.7 kB / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.5292, allocations: 97.67 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002546/0.5294, allocations: 410.7 kB / 1.176 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.531, allocations: 0.8145 MB / 1.177 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.5329, allocations: 1.322 MB / 1.179 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.536, allocations: 2.179 MB / 1.181 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.5361, allocations: 4 kB / 1.181 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00383/0.5399, allocations: 2.218 MB / 1.183 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004371/0.5403, allocations: 0.5 MB / 1.183 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/0.5404, allocations: 19.98 kB / 1.183 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/0.5404, allocations: 20 kB / 1.183 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.5422, allocations: 427.2 kB / 1.184 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.317e-05/0.5422, allocations: 27.92 kB / 1.184 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.5437, allocations: 215.2 kB / 1.184 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.5439, allocations: 59.98 kB / 1.184 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5439, allocations: 4 kB / 1.184 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003058/0.5469, allocations: 1.819 MB / 1.186 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/0.547, allocations: 12 kB / 1.186 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.926e-05/0.547, allocations: 24 kB / 1.186 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.5484, allocations: 368.1 kB / 1.186 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.474e-05/0.5485, allocations: 31.86 kB / 1.186 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.5497, allocations: 159.4 kB / 1.186 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.5498, allocations: 55.98 kB / 1.186 GB, free: 1.02 MB / 0.9356 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.001997/0.5518, allocations: 1.176 MB / 1.188 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.5522, allocations: 98.78 kB / 1.188 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.5553, allocations: 1.866 MB / 1.189 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.5553, allocations: 8 kB / 1.19 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.5553, allocations: 4 kB / 1.19 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.5554, allocations: 7.984 kB / 1.19 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.5693, allocations: 9.608 MB / 1.199 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/0.5693, allocations: 8 kB / 1.199 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.5706, allocations: 315.5 kB / 1.199 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.411e-05/0.5707, allocations: 19.94 kB / 1.199 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.5708, allocations: 24 kB / 1.199 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.496e-05/0.5708, allocations: 23.88 kB / 1.199 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.405e-05/0.5708, allocations: 19.92 kB / 1.199 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.574, allocations: 2.417 MB / 1.202 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007667/0.5748, allocations: 395.4 kB / 1.202 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.5751, allocations: 31.98 kB / 1.202 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.5763, allocations: 139.8 kB / 1.202 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.5765, allocations: 91.61 kB / 1.202 GB, free: 340 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/0.5767, allocations: 44 kB / 1.202 GB, free: 296 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001167/0.5778, allocations: 0.6123 MB / 1.203 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.5778, allocations: 0 / 1.203 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003554/0.5814, allocations: 0.7539 MB / 1.204 GB, free: 14.93 MB / 0.9669 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.0003439/0.5818, allocations: 138.9 kB / 1.204 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005476/0.5872, allocations: 2.889 MB / 1.207 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.5873, allocations: 5.25 kB / 1.207 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.5887, allocations: 0.9113 MB / 1.208 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/0.5923, allocations: 296.4 kB / 1.208 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.6037, allocations: 6.212 MB / 1.214 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003029/0.6068, allocations: 2.131 MB / 1.216 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002526/0.6093, allocations: 0.7539 MB / 1.217 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/0.6098, allocations: 87.41 kB / 1.217 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of SimCode: time 1.283e-06/0.6099, allocations: 0 / 1.217 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of Templates: time 0.03332/0.6432, allocations: 17 MB / 1.233 GB, free: 452 kB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)