Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.959/4.959, allocations: 0.5623 GB / 0.5776 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002515/0.002514, allocations: 357.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.17/4.17, allocations: 410.7 MB / 1.113 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001836/0.001836, allocations: 182.8 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004917, allocations: 16 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7694/0.7699, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.615/7.385, allocations: 2.12 GB / 3.581 GB, free: 258.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004106/7.385, allocations: 113.1 kB / 3.582 GB, free: 258.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7298/8.115, allocations: 187.1 MB / 3.764 GB, free: 107 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.585e-06/8.115, allocations: 4 kB / 3.764 GB, free: 107 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004004/8.116, allocations: 99.94 kB / 3.764 GB, free: 106.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01679/8.132, allocations: 3.93 MB / 3.768 GB, free: 102.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/8.132, allocations: 11.62 kB / 3.768 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02129/8.154, allocations: 1.805 MB / 3.77 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007728/8.162, allocations: 2.411 MB / 3.772 GB, free: 98.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000434/8.162, allocations: 316.5 kB / 3.773 GB, free: 98.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002307/8.164, allocations: 419.9 kB / 3.773 GB, free: 97.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/8.19, allocations: 6.492 MB / 3.779 GB, free: 91.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002706/8.19, allocations: 15.78 kB / 3.779 GB, free: 91.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/8.193, allocations: 184 kB / 3.78 GB, free: 90.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003238/8.193, allocations: 219.4 kB / 3.78 GB, free: 90.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02775/8.221, allocations: 6.454 MB / 3.786 GB, free: 84.28 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05714/8.278, allocations: 26.19 MB / 3.812 GB, free: 56.47 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/8.295, allocations: 4.25 MB / 3.816 GB, free: 52.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008015/8.304, allocations: 2.064 MB / 3.818 GB, free: 50.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/8.305, allocations: 0.5188 MB / 3.818 GB, free: 49.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008879/8.314, allocations: 2.233 MB / 3.82 GB, free: 47.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=254): time 7.634e-06/8.314, allocations: 0 / 3.82 GB, free: 47.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.03007/8.344, allocations: 7.712 MB / 3.828 GB, free: 39.49 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/8.344, allocations: 445.2 kB / 3.828 GB, free: 38.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003627/8.348, allocations: 1.794 MB / 3.83 GB, free: 37.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009235/8.349, allocations: 69.7 kB / 3.83 GB, free: 37.04 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001877/8.351, allocations: 1.716 MB / 3.832 GB, free: 35.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/8.352, allocations: 0.8548 MB / 3.833 GB, free: 34.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/8.353, allocations: 56 kB / 3.833 GB, free: 34.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001862/8.353, allocations: 415.5 kB / 3.833 GB, free: 33.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007272/8.36, allocations: 1.653 MB / 3.835 GB, free: 32.31 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008399/8.368, allocations: 2.387 MB / 3.837 GB, free: 29.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008234/8.377, allocations: 1.951 MB / 3.839 GB, free: 27.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/8.377, allocations: 8 kB / 3.839 GB, free: 27.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.02197/8.399, allocations: 4.351 MB / 3.843 GB, free: 23.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004703/8.399, allocations: 0.5911 MB / 3.844 GB, free: 22.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-05/8.399, allocations: 16.14 kB / 3.844 GB, free: 22.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-05/8.4, allocations: 32 kB / 3.844 GB, free: 22.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/8.411, allocations: 0.8385 MB / 3.845 GB, free: 21.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.683e-05/8.411, allocations: 39.86 kB / 3.845 GB, free: 21.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006559/8.418, allocations: 398.1 kB / 3.845 GB, free: 21.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/8.419, allocations: 139.9 kB / 3.845 GB, free: 20.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/8.419, allocations: 4 kB / 3.845 GB, free: 20.96 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01715/8.436, allocations: 3.825 MB / 3.849 GB, free: 17.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/8.436, allocations: 16 kB / 3.849 GB, free: 17.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.843e-05/8.436, allocations: 32.91 kB / 3.849 GB, free: 17.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007953/8.444, allocations: 0.7839 MB / 3.85 GB, free: 16.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.579e-05/8.444, allocations: 47.75 kB / 3.85 GB, free: 16.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006162/8.451, allocations: 354.2 kB / 3.85 GB, free: 15.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/8.452, allocations: 127.9 kB / 3.85 GB, free: 15.74 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 346 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004568/8.456, allocations: 1.324 MB / 3.852 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000993/8.457, allocations: 241 kB / 3.852 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02002/8.477, allocations: 4.517 MB / 3.856 GB, free: 9.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/8.477, allocations: 28 kB / 3.856 GB, free: 9.562 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/8.477, allocations: 3.953 kB / 3.856 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.656e-05/8.477, allocations: 15.94 kB / 3.856 GB, free: 9.543 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.748/9.226, allocations: 9.489 MB / 3.866 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/9.226, allocations: 7.25 kB / 3.866 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008277/9.234, allocations: 0.7783 MB / 3.866 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-05/9.234, allocations: 15.88 kB / 3.866 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005134/9.234, allocations: 83.28 kB / 3.866 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.271e-05/9.235, allocations: 7.625 kB / 3.866 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/9.235, allocations: 3.094 kB / 3.866 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/9.25, allocations: 4.296 MB / 3.871 GB, free: 252.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/9.253, allocations: 0.8203 MB / 3.871 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008203/9.254, allocations: 51.97 kB / 3.872 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005242/9.259, allocations: 291.1 kB / 3.872 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/9.259, allocations: 160.8 kB / 3.872 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003728/9.26, allocations: 97.25 kB / 3.872 GB, free: 252.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002842/9.263, allocations: 1.303 MB / 3.873 GB, free: 252.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.31e-07/9.263, allocations: 0 / 3.873 GB, free: 252.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007572/9.27, allocations: 1.399 MB / 3.875 GB, free: 252.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002442/9.273, allocations: 0.6637 MB / 3.875 GB, free: 252.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02317/9.296, allocations: 6.052 MB / 3.881 GB, free: 252.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/9.296, allocations: 6.641 kB / 3.881 GB, free: 252.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007362/9.303, allocations: 2.009 MB / 3.883 GB, free: 252.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005767/9.309, allocations: 0.6255 MB / 3.884 GB, free: 252.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02521/9.334, allocations: 9.418 MB / 3.893 GB, free: 248.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/9.338, allocations: 2.685 MB / 3.896 GB, free: 248 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009967/9.348, allocations: 1.279 MB / 3.897 GB, free: 247.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002543/9.351, allocations: 274.8 kB / 3.897 GB, free: 247.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/9.351, allocations: 0 / 3.897 GB, free: 247.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1088/9.46, allocations: 41.92 MB / 3.938 GB, free: 246.1 MB / 0.948 GB