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.45/2.45, allocations: 252.6 MB / 265.2 MB, free: 5.637 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 175.9 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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.001158/0.001158, allocations: 86.08 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.78e-05, allocations: 4 kB / 0.7911 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2043, allocations: 106.2 MB / 0.8949 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9019/1.106, allocations: 154.9 MB / 1.046 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/1.107, allocations: 91.25 kB / 1.046 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07427/1.181, allocations: 17.66 MB / 1.063 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.813e-06/1.181, allocations: 0 / 1.063 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.929e-05/1.181, allocations: 11.98 kB / 1.063 GB, free: 14.34 MB / 0.6823 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.001715/1.183, allocations: 0.6117 MB / 1.064 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.183, allocations: 12.03 kB / 1.064 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/1.184, allocations: 91.62 kB / 1.064 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/1.185, allocations: 277.7 kB / 1.064 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/1.185, allocations: 19.56 kB / 1.064 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/1.185, allocations: 19.55 kB / 1.064 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/1.186, allocations: 375.1 kB / 1.065 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/1.186, allocations: 0 / 1.065 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/1.186, allocations: 14.92 kB / 1.065 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.91e-05/1.186, allocations: 24.3 kB / 1.065 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000921/1.187, allocations: 315.3 kB / 1.065 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/1.191, allocations: 1.656 MB / 1.067 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/1.192, allocations: 393.4 kB / 1.067 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/1.192, allocations: 156.2 kB / 1.067 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/1.193, allocations: 93.06 kB / 1.067 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005735/1.193, allocations: 237.6 kB / 1.068 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 3.186e-06/1.193, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001556/1.195, allocations: 438.9 kB / 1.068 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/1.195, allocations: 89.05 kB / 1.068 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/1.195, allocations: 202.4 kB / 1.068 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/1.195, allocations: 28.83 kB / 1.068 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/1.196, allocations: 170.3 kB / 1.069 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/1.196, allocations: 88.75 kB / 1.069 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/1.196, allocations: 3.438 kB / 1.069 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.196, allocations: 341.3 kB / 1.069 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/1.196, allocations: 130.3 kB / 1.069 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/1.197, allocations: 203.8 kB / 1.069 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/1.197, allocations: 185.9 kB / 1.069 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.197, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001439/1.199, allocations: 477.2 kB / 1.07 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000528/1.199, allocations: 0.9025 MB / 1.071 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.199, allocations: 0 / 1.071 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/1.2, allocations: 47.67 kB / 1.071 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/1.201, allocations: 87.86 kB / 1.071 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.203, allocations: 1.496 MB / 1.072 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007328/1.204, allocations: 51.05 kB / 1.072 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/1.204, allocations: 14.94 kB / 1.072 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.204, allocations: 9.031 kB / 1.072 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/1.205, allocations: 409.7 kB / 1.073 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.205, allocations: 8.062 kB / 1.073 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/1.205, allocations: 40.64 kB / 1.073 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/1.206, allocations: 83.81 kB / 1.073 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/1.208, allocations: 1.479 MB / 1.074 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/1.209, allocations: 55.47 kB / 1.074 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/1.209, allocations: 16.05 kB / 1.074 GB, free: 3.766 MB / 0.6823 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 () * 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.0002314/1.209, allocations: 131.2 kB / 1.075 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/1.209, allocations: 23.72 kB / 1.075 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/1.21, allocations: 404.4 kB / 1.075 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.21, allocations: 4.141 kB / 1.075 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.21, allocations: 3.984 kB / 1.075 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/1.21, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/1.212, allocations: 0.5631 MB / 1.076 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.212, allocations: 3.938 kB / 1.076 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/1.212, allocations: 84 kB / 1.076 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/1.213, allocations: 31.72 kB / 1.076 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/1.213, allocations: 11.73 kB / 1.076 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/1.214, allocations: 1.411 MB / 1.077 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.214, allocations: 0 / 1.077 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.216, allocations: 0.5051 MB / 1.078 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/1.216, allocations: 138.9 kB / 1.078 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/1.216, allocations: 3.875 kB / 1.078 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005787/1.217, allocations: 43.77 kB / 1.078 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.217, allocations: 35.83 kB / 1.078 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/1.217, allocations: 7.953 kB / 1.078 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002736/1.217, allocations: 177.9 kB / 1.078 GB, free: 376 kB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.217, allocations: 0 / 1.078 GB, free: 376 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009104/1.218, allocations: 143.2 kB / 1.078 GB, free: 248 kB / 0.6823 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) * 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.0003026/1.218, allocations: 130.9 kB / 1.078 GB, free: 108 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002175/1.221, allocations: 0.8689 MB / 1.079 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.221, allocations: 0 / 1.079 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007451/1.221, allocations: 297.6 kB / 1.079 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/1.222, allocations: 38.03 kB / 1.079 GB, free: 15.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/1.224, allocations: 473.1 kB / 1.08 GB, free: 14.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/1.224, allocations: 0.7939 MB / 1.081 GB, free: 13.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000659/1.225, allocations: 106.1 kB / 1.081 GB, free: 13.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/1.225, allocations: 19.44 kB / 1.081 GB, free: 13.72 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.225, allocations: 0 / 1.081 GB, free: 13.72 MB / 0.698 GB Notification: Performance of Templates: time 0.01424/1.239, allocations: 4.317 MB / 1.085 GB, free: 9.457 MB / 0.698 GB