Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.458/2.458, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.001519, allocations: 169.9 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.459/2.459, allocations: 205.4 MB / 0.5766 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 99.09 kB / 0.6811 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006345/0.0006344, allocations: 11.81 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2147, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.4979, allocations: 154.9 MB / 1.05 GB, free: 6.246 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003901/0.4984, allocations: 99.92 kB / 1.05 GB, free: 6.148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7086/1.207, allocations: 17.75 MB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.207, allocations: 0 / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.947e-05/1.207, allocations: 6.484 kB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001706/1.209, allocations: 0.637 MB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.209, allocations: 9.375 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.21, allocations: 103.1 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/1.211, allocations: 284.1 kB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/1.211, allocations: 13.38 kB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/1.211, allocations: 27.25 kB / 1.069 GB, free: 151.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/1.212, allocations: 415.3 kB / 1.069 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.212, allocations: 0.9688 kB / 1.069 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/1.212, allocations: 9.406 kB / 1.069 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-05/1.212, allocations: 27.39 kB / 1.069 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/1.214, allocations: 411.2 kB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/1.217, allocations: 1.658 MB / 1.071 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/1.219, allocations: 486.2 kB / 1.072 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/1.219, allocations: 89.3 kB / 1.072 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009253/1.22, allocations: 286.9 kB / 1.072 GB, free: 149.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/1.22, allocations: 0 / 1.072 GB, free: 149.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.00321/1.224, allocations: 0.7706 MB / 1.073 GB, free: 149.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.224, allocations: 81.08 kB / 1.073 GB, free: 149.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/1.224, allocations: 205.4 kB / 1.073 GB, free: 149.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/1.224, allocations: 31.11 kB / 1.073 GB, free: 149.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/1.224, allocations: 167.6 kB / 1.073 GB, free: 149.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/1.224, allocations: 96.14 kB / 1.073 GB, free: 149.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/1.224, allocations: 6.438 kB / 1.073 GB, free: 149.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/1.224, allocations: 333 kB / 1.074 GB, free: 149 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007164/1.225, allocations: 186.3 kB / 1.074 GB, free: 149 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007599/1.226, allocations: 258.9 kB / 1.074 GB, free: 148.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/1.227, allocations: 231.4 kB / 1.074 GB, free: 148.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.227, allocations: 5.219 kB / 1.074 GB, free: 148.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001985/1.229, allocations: 0.5556 MB / 1.075 GB, free: 148.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.229, allocations: 0.9076 MB / 1.076 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.229, allocations: 2.75 kB / 1.076 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/1.229, allocations: 44.44 kB / 1.076 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/1.23, allocations: 93.58 kB / 1.076 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/1.232, allocations: 1.508 MB / 1.077 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/1.233, allocations: 57.09 kB / 1.077 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/1.233, allocations: 25.88 kB / 1.077 GB, free: 146.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.233, allocations: 6.031 kB / 1.077 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001874/1.235, allocations: 0.4989 MB / 1.078 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.235, allocations: 5.844 kB / 1.078 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/1.235, allocations: 45.17 kB / 1.078 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/1.236, allocations: 80.48 kB / 1.078 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/1.237, allocations: 1.494 MB / 1.079 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/1.238, allocations: 53.06 kB / 1.079 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/1.238, allocations: 14.47 kB / 1.079 GB, free: 145.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003428/1.238, allocations: 241.1 kB / 1.08 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/1.238, allocations: 23.91 kB / 1.08 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/1.24, allocations: 498 kB / 1.08 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.24, allocations: 4.188 kB / 1.08 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.24, allocations: 1.312 kB / 1.08 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/1.24, allocations: 0 / 1.08 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/1.241, allocations: 0.5606 MB / 1.081 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.241, allocations: 4.375 kB / 1.081 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007294/1.242, allocations: 83.09 kB / 1.081 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/1.242, allocations: 41.34 kB / 1.081 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/1.242, allocations: 7.094 kB / 1.081 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/1.244, allocations: 1.427 MB / 1.082 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.244, allocations: 1.219 kB / 1.082 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/1.246, allocations: 0.5957 MB / 1.083 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/1.246, allocations: 138.2 kB / 1.083 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/1.246, allocations: 6.281 kB / 1.083 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/1.247, allocations: 43.28 kB / 1.083 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/1.247, allocations: 33.3 kB / 1.083 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/1.247, allocations: 13.05 kB / 1.083 GB, free: 142.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002664/1.247, allocations: 176.1 kB / 1.083 GB, free: 142.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.247, allocations: 1.062 kB / 1.083 GB, free: 142.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009898/1.248, allocations: 146.7 kB / 1.083 GB, free: 142.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002366/1.248, allocations: 126 kB / 1.084 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003037/1.251, allocations: 1.017 MB / 1.085 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.251, allocations: 0 / 1.085 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.253, allocations: 346.2 kB / 1.085 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/1.253, allocations: 37.7 kB / 1.085 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/1.255, allocations: 0.7468 MB / 1.086 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/1.255, allocations: 0.791 MB / 1.086 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006116/1.256, allocations: 100.9 kB / 1.086 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/1.256, allocations: 25.59 kB / 1.087 GB, free: 141 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/1.256, allocations: 0 / 1.087 GB, free: 141 MB / 0.698 GB Notification: Performance of Templates: time 0.01298/1.269, allocations: 4.043 MB / 1.09 GB, free: 139.2 MB / 0.698 GB