Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.0016/0.0016, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002453/0.002452, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.515/1.515, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.853/1.853, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001502/0.001502, allocations: 72.91 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2749, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04294/0.3179, allocations: 37.25 MB / 0.8197 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02438/0.3424, allocations: 13.59 MB / 0.833 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00511/0.3475, allocations: 115.7 kB / 0.8331 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006477/0.3541, allocations: 2.28 MB / 0.8354 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.3588, allocations: 1.404 MB / 0.8367 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009091/0.3679, allocations: 3.519 MB / 0.8402 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008008/0.3759, allocations: 6.372 MB / 0.8464 GB, free: 12.79 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.3906, allocations: 10.04 MB / 0.8562 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005092/0.3958, allocations: 2.72 MB / 0.8588 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005883/0.4017, allocations: 3.202 MB / 0.862 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002253/0.404, allocations: 0.6211 MB / 0.8626 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.4074, allocations: 1.225 MB / 0.8638 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003936/0.4113, allocations: 2.472 MB / 0.8662 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00569/0.4171, allocations: 2.553 MB / 0.8687 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.4282, allocations: 9.084 MB / 0.8775 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.4282, allocations: 0 / 0.8775 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4283, allocations: 0 / 0.8775 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002975/0.4286, allocations: 0 / 0.8775 GB, free: 12.68 MB / 0.7012 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.01101/0.4396, allocations: 4.291 MB / 0.8817 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4396, allocations: 12.03 kB / 0.8818 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/0.4438, allocations: 0.952 MB / 0.8827 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/0.4483, allocations: 2.183 MB / 0.8848 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.4486, allocations: 329 kB / 0.8851 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.4498, allocations: 432.2 kB / 0.8855 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.4662, allocations: 7.362 MB / 0.8927 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/0.4664, allocations: 11.88 kB / 0.8927 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/0.4674, allocations: 188 kB / 0.8929 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004897/0.4679, allocations: 282.9 kB / 0.8932 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/0.4835, allocations: 5.963 MB / 0.899 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5922/1.076, allocations: 32.62 MB / 0.9309 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/1.079, allocations: 2.104 MB / 0.9329 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/1.081, allocations: 1.246 MB / 0.9341 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/1.081, allocations: 99.8 kB / 0.9342 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/1.081, allocations: 47.8 kB / 0.9343 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 2.645e-06/1.081, allocations: 0 / 0.9343 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.007863/1.089, allocations: 5.238 MB / 0.9394 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.089, allocations: 140.1 kB / 0.9395 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/1.092, allocations: 1.457 MB / 0.941 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/1.092, allocations: 43.11 kB / 0.941 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001719/1.094, allocations: 1.861 MB / 0.9428 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/1.094, allocations: 375.2 kB / 0.9432 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/1.095, allocations: 459.7 kB / 0.9436 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/1.095, allocations: 305.8 kB / 0.9439 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/1.097, allocations: 1.12 MB / 0.945 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002848/1.1, allocations: 2.188 MB / 0.9471 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004644/1.105, allocations: 3.397 MB / 0.9504 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.199e-05/1.105, allocations: 12.72 kB / 0.9505 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005551/1.11, allocations: 3.312 MB / 0.9537 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/1.11, allocations: 24.44 kB / 0.9537 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.305e-05/1.111, allocations: 33.81 kB / 0.9537 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.42e-05/1.111, allocations: 48.06 kB / 0.9538 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/1.113, allocations: 0.6202 MB / 0.9544 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.353e-05/1.113, allocations: 70.16 kB / 0.9545 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/1.115, allocations: 314.2 kB / 0.9548 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/1.115, allocations: 118.1 kB / 0.9549 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003686/1.119, allocations: 2.408 MB / 0.9572 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001681/1.12, allocations: 2.011 MB / 0.9592 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002884/1.123, allocations: 3.028 MB / 0.9622 GB, free: 98.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.272e-05/1.123, allocations: 10.84 kB / 0.9622 GB, free: 98.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004326/1.128, allocations: 2.922 MB / 0.965 GB, free: 97.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/1.128, allocations: 23.09 kB / 0.965 GB, free: 97.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/1.128, allocations: 35.75 kB / 0.9651 GB, free: 97.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.303e-05/1.128, allocations: 51.94 kB / 0.9651 GB, free: 97.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/1.129, allocations: 0.5541 MB / 0.9657 GB, free: 96.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.992e-05/1.129, allocations: 70.88 kB / 0.9657 GB, free: 96.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/1.131, allocations: 248.9 kB / 0.966 GB, free: 96.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.131, allocations: 114.4 kB / 0.9661 GB, free: 96.74 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.0005554/1.132, allocations: 334.8 kB / 0.9664 GB, free: 96.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/1.132, allocations: 164.8 kB / 0.9666 GB, free: 96.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/1.135, allocations: 2.221 MB / 0.9687 GB, free: 95.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/1.135, allocations: 15.12 kB / 0.9687 GB, free: 95.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.135, allocations: 1.062 kB / 0.9687 GB, free: 95.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.135, allocations: 9.016 kB / 0.9687 GB, free: 95.06 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/1.147, allocations: 10.97 MB / 0.9795 GB, free: 88.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.147, allocations: 14.22 kB / 0.9795 GB, free: 88.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.148, allocations: 391 kB / 0.9798 GB, free: 88.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.148, allocations: 15.44 kB / 0.9799 GB, free: 88.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/1.148, allocations: 30 kB / 0.9799 GB, free: 88.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/1.148, allocations: 23.3 kB / 0.9799 GB, free: 88.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.148, allocations: 15.31 kB / 0.9799 GB, free: 88.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/1.151, allocations: 2.763 MB / 0.9826 GB, free: 86.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007573/1.152, allocations: 442.3 kB / 0.983 GB, free: 86.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/1.152, allocations: 47.83 kB / 0.9831 GB, free: 86.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.153, allocations: 163.7 kB / 0.9832 GB, free: 85.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.153, allocations: 100.2 kB / 0.9833 GB, free: 85.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/1.153, allocations: 43.94 kB / 0.9834 GB, free: 85.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001137/1.154, allocations: 0.9742 MB / 0.9843 GB, free: 84.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.154, allocations: 4 kB / 0.9843 GB, free: 84.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003829/1.158, allocations: 1.125 MB / 0.9854 GB, free: 83.61 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.0002385/1.158, allocations: 142.9 kB / 0.9856 GB, free: 83.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005829/1.164, allocations: 4.236 MB / 0.9897 GB, free: 79.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/1.164, allocations: 4.188 kB / 0.9897 GB, free: 79.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/1.165, allocations: 1.059 MB / 0.9907 GB, free: 78.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/1.168, allocations: 460.3 kB / 0.9912 GB, free: 77.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.178, allocations: 7.062 MB / 0.9981 GB, free: 70.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/1.18, allocations: 2.875 MB / 1.001 GB, free: 67.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002738/1.183, allocations: 1.204 MB / 1.002 GB, free: 66.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/1.183, allocations: 123.4 kB / 1.002 GB, free: 66.31 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/1.183, allocations: 0 / 1.002 GB, free: 66.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.03574/1.219, allocations: 24.53 MB / 1.026 GB, free: 42.08 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)