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.348/2.348, allocations: 252.6 MB / 265.2 MB, free: 5.711 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.001517/0.001516, allocations: 183.9 kB / 324.5 MB, free: 14.43 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.087/2.087, allocations: 205.4 MB / 0.5754 GB, free: 10.52 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.001064/0.001064, allocations: 90.69 kB / 0.6797 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.21e-05, allocations: 8 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2038, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8683/1.072, allocations: 153.5 MB / 1.045 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/1.073, allocations: 94.75 kB / 1.045 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07629/1.149, allocations: 17.01 MB / 1.061 GB, free: 332 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.004e-06/1.149, allocations: 0 / 1.061 GB, free: 332 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.941e-05/1.149, allocations: 8 kB / 1.061 GB, free: 324 kB / 0.6667 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.001699/1.151, allocations: 0.6093 MB / 1.062 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.151, allocations: 12.03 kB / 1.062 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.152, allocations: 95.61 kB / 1.062 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/1.153, allocations: 283.9 kB / 1.062 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/1.153, allocations: 11.69 kB / 1.062 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/1.153, allocations: 23.25 kB / 1.062 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/1.154, allocations: 377 kB / 1.063 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/1.154, allocations: 0 / 1.063 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/1.154, allocations: 10.75 kB / 1.063 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.478e-05/1.154, allocations: 23.92 kB / 1.063 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009143/1.155, allocations: 313.8 kB / 1.063 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/1.158, allocations: 1.664 MB / 1.065 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/1.16, allocations: 391.8 kB / 1.065 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/1.16, allocations: 157.7 kB / 1.065 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/1.161, allocations: 101 kB / 1.065 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005773/1.161, allocations: 223.8 kB / 1.066 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 3.326e-06/1.161, allocations: 4 kB / 1.066 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001536/1.163, allocations: 434.4 kB / 1.066 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/1.163, allocations: 91.89 kB / 1.066 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/1.163, allocations: 197.3 kB / 1.066 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.819e-05/1.163, allocations: 29.27 kB / 1.066 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/1.163, allocations: 175 kB / 1.067 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/1.164, allocations: 85.12 kB / 1.067 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/1.164, allocations: 6.188 kB / 1.067 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.164, allocations: 341.5 kB / 1.067 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/1.164, allocations: 129.8 kB / 1.067 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/1.165, allocations: 208.1 kB / 1.067 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/1.165, allocations: 183.3 kB / 1.067 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.165, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00141/1.167, allocations: 476.6 kB / 1.068 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005355/1.167, allocations: 0.9083 MB / 1.069 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.167, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/1.167, allocations: 43.58 kB / 1.069 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/1.168, allocations: 87.73 kB / 1.069 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/1.17, allocations: 1.489 MB / 1.07 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/1.171, allocations: 54.98 kB / 1.07 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/1.171, allocations: 19.23 kB / 1.07 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.171, allocations: 4 kB / 1.07 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001764/1.173, allocations: 412.5 kB / 1.071 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.173, allocations: 8.062 kB / 1.071 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/1.173, allocations: 40.2 kB / 1.071 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.174, allocations: 91.3 kB / 1.071 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/1.178, allocations: 1.473 MB / 1.072 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.179, allocations: 51.7 kB / 1.072 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.179, allocations: 19.44 kB / 1.072 GB, free: 5.734 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.0003527/1.179, allocations: 133.1 kB / 1.073 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.179, allocations: 23.72 kB / 1.073 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/1.181, allocations: 400.1 kB / 1.073 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.181, allocations: 4 kB / 1.073 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.181, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.181, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/1.183, allocations: 0.5669 MB / 1.074 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.183, allocations: 4.062 kB / 1.074 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.184, allocations: 83.95 kB / 1.074 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/1.185, allocations: 38.77 kB / 1.074 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/1.185, allocations: 3.062 kB / 1.074 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/1.187, allocations: 1.421 MB / 1.075 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.187, allocations: 0 / 1.075 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/1.189, allocations: 0.5017 MB / 1.076 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/1.189, allocations: 134.7 kB / 1.076 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/1.19, allocations: 10.75 kB / 1.076 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/1.191, allocations: 43.58 kB / 1.076 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.191, allocations: 31.2 kB / 1.076 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/1.191, allocations: 19.56 kB / 1.076 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003936/1.191, allocations: 167.2 kB / 1.076 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.212e-06/1.191, allocations: 0 / 1.076 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001418/1.193, allocations: 138.7 kB / 1.076 GB, free: 2.215 MB / 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.0003651/1.193, allocations: 128.9 kB / 1.076 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002547/1.196, allocations: 0.8732 MB / 1.077 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.196, allocations: 0 / 1.077 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007247/1.196, allocations: 289.7 kB / 1.077 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/1.197, allocations: 46.75 kB / 1.077 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/1.199, allocations: 467.9 kB / 1.078 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/1.199, allocations: 0.7951 MB / 1.079 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006273/1.2, allocations: 97.97 kB / 1.079 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/1.2, allocations: 26.62 kB / 1.079 GB, free: 15.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/1.2, allocations: 0 / 1.079 GB, free: 15.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01405/1.214, allocations: 4.316 MB / 1.083 GB, free: 11.41 MB / 0.698 GB