Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.282/2.282, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.002186/0.002186, allocations: 177.2 kB / 325.6 MB, free: 2.828 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.404/2.404, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001176/0.001175, allocations: 88.86 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005375, allocations: 12.72 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2173, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2638/0.4811, allocations: 153.5 MB / 1.049 GB, free: 7.688 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003807/0.4815, allocations: 91.94 kB / 1.049 GB, free: 7.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7566/1.238, allocations: 17.1 MB / 1.066 GB, free: 151.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/1.238, allocations: 0 / 1.066 GB, free: 151.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.935e-05/1.238, allocations: 6.734 kB / 1.066 GB, free: 151.6 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.001755/1.24, allocations: 0.6356 MB / 1.066 GB, free: 151.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.24, allocations: 10 kB / 1.066 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/1.241, allocations: 105.2 kB / 1.066 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/1.242, allocations: 283.2 kB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/1.242, allocations: 18.06 kB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-05/1.242, allocations: 18.95 kB / 1.067 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.243, allocations: 425.2 kB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/1.244, allocations: 0.75 kB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/1.244, allocations: 6.969 kB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.049e-05/1.244, allocations: 23.56 kB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/1.245, allocations: 414 kB / 1.067 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/1.249, allocations: 1.662 MB / 1.069 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/1.251, allocations: 483.2 kB / 1.07 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/1.251, allocations: 92.78 kB / 1.07 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009154/1.252, allocations: 276.2 kB / 1.07 GB, free: 149.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.846e-06/1.252, allocations: 0 / 1.07 GB, free: 149.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.003291/1.255, allocations: 0.7842 MB / 1.071 GB, free: 149.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.255, allocations: 80.92 kB / 1.071 GB, free: 149.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/1.256, allocations: 199.5 kB / 1.071 GB, free: 149 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/1.256, allocations: 31.73 kB / 1.071 GB, free: 148.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/1.256, allocations: 165.1 kB / 1.071 GB, free: 148.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/1.256, allocations: 98.34 kB / 1.071 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/1.256, allocations: 8.625 kB / 1.071 GB, free: 148.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/1.256, allocations: 332 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007481/1.257, allocations: 183.3 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007845/1.258, allocations: 260.4 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/1.258, allocations: 239 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/1.259, allocations: 1.438 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002084/1.261, allocations: 0.559 MB / 1.073 GB, free: 148.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/1.261, allocations: 0.8983 MB / 1.074 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.261, allocations: 3.125 kB / 1.074 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000348/1.261, allocations: 41.3 kB / 1.074 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/1.262, allocations: 91.17 kB / 1.074 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/1.264, allocations: 1.507 MB / 1.075 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/1.265, allocations: 61.75 kB / 1.075 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/1.265, allocations: 14.77 kB / 1.075 GB, free: 145.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.265, allocations: 5.781 kB / 1.075 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001866/1.267, allocations: 0.4991 MB / 1.076 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.267, allocations: 6.641 kB / 1.076 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/1.267, allocations: 47.16 kB / 1.076 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/1.268, allocations: 82.47 kB / 1.076 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/1.269, allocations: 1.498 MB / 1.077 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/1.27, allocations: 55.33 kB / 1.077 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/1.27, allocations: 17.58 kB / 1.077 GB, free: 144.5 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.0003489/1.27, allocations: 238.1 kB / 1.078 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/1.27, allocations: 27.56 kB / 1.078 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/1.273, allocations: 497.9 kB / 1.078 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.273, allocations: 3.188 kB / 1.078 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.273, allocations: 1.25 kB / 1.078 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.273, allocations: 0 / 1.078 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/1.274, allocations: 0.5695 MB / 1.079 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.274, allocations: 1.25 kB / 1.079 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/1.275, allocations: 82.36 kB / 1.079 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/1.275, allocations: 38.39 kB / 1.079 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/1.275, allocations: 13.19 kB / 1.079 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/1.277, allocations: 1.425 MB / 1.08 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.277, allocations: 1.25 kB / 1.08 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/1.28, allocations: 0.6022 MB / 1.081 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/1.28, allocations: 134.4 kB / 1.081 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/1.28, allocations: 6.25 kB / 1.081 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/1.281, allocations: 39.75 kB / 1.081 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/1.281, allocations: 39.17 kB / 1.081 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/1.281, allocations: 11.67 kB / 1.081 GB, free: 142.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000325/1.281, allocations: 172.2 kB / 1.081 GB, free: 142.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.281, allocations: 0 / 1.081 GB, free: 142.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001461/1.283, allocations: 143.7 kB / 1.081 GB, free: 142.1 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.0003129/1.283, allocations: 124.3 kB / 1.082 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004102/1.287, allocations: 1.014 MB / 1.083 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/1.287, allocations: 0 / 1.083 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/1.289, allocations: 341 kB / 1.083 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/1.29, allocations: 38.52 kB / 1.083 GB, free: 141.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/1.292, allocations: 0.7522 MB / 1.084 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/1.293, allocations: 0.7927 MB / 1.084 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007885/1.294, allocations: 96.39 kB / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/1.294, allocations: 28.56 kB / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.294, allocations: 0 / 1.084 GB, free: 140.4 MB / 0.698 GB Notification: Performance of Templates: time 0.01795/1.312, allocations: 4.034 MB / 1.088 GB, free: 139.4 MB / 0.698 GB