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.393/2.393, allocations: 253.2 MB / 260.6 MB, free: 7.523 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.002529/0.002529, allocations: 187.5 kB / 319.9 MB, free: 3.066 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.258/2.258, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001165/0.001165, allocations: 100.8 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.747e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2162, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.301, allocations: 153.7 MB / 1.039 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004716/1.302, allocations: 88.56 kB / 1.039 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1011/1.403, allocations: 16.95 MB / 1.055 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.304e-06/1.403, allocations: 3.938 kB / 1.055 GB, free: 3.055 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.471e-05/1.403, allocations: 8 kB / 1.055 GB, free: 3.047 MB / 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.002378/1.405, allocations: 0.6085 MB / 1.056 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.584e-05/1.405, allocations: 11.97 kB / 1.056 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/1.407, allocations: 95.62 kB / 1.056 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/1.408, allocations: 277.5 kB / 1.056 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/1.409, allocations: 8 kB / 1.056 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/1.409, allocations: 19.97 kB / 1.056 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001202/1.41, allocations: 244.7 kB / 1.057 GB, free: 1.836 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/1.411, allocations: 342 kB / 1.057 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.411, allocations: 4 kB / 1.057 GB, free: 1.551 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/1.411, allocations: 3.984 kB / 1.057 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/1.411, allocations: 20.12 kB / 1.057 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00472/1.416, allocations: 1.603 MB / 1.059 GB, free: 0 / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/1.418, allocations: 385.3 kB / 1.059 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/1.419, allocations: 159.2 kB / 1.059 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/1.419, allocations: 85.11 kB / 1.059 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007329/1.42, allocations: 227.9 kB / 1.059 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 4.498e-06/1.42, allocations: 0 / 1.059 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.002062/1.422, allocations: 421.7 kB / 1.06 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/1.422, allocations: 85.09 kB / 1.06 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/1.422, allocations: 185.7 kB / 1.06 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.146e-05/1.423, allocations: 29.8 kB / 1.06 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.423, allocations: 174.7 kB / 1.06 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/1.423, allocations: 85.12 kB / 1.06 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/1.423, allocations: 0 / 1.06 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003048/1.423, allocations: 333.2 kB / 1.061 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/1.424, allocations: 131.5 kB / 1.061 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/1.425, allocations: 200.7 kB / 1.061 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/1.425, allocations: 154.6 kB / 1.061 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.425, allocations: 4 kB / 1.061 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001855/1.427, allocations: 433.4 kB / 1.062 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006844/1.428, allocations: 0.9019 MB / 1.062 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.428, allocations: 0 / 1.062 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004217/1.428, allocations: 47.77 kB / 1.062 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.429, allocations: 86.42 kB / 1.063 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/1.432, allocations: 1.438 MB / 1.064 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/1.433, allocations: 43.8 kB / 1.064 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/1.433, allocations: 12 kB / 1.064 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.433, allocations: 4.781 kB / 1.064 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001664/1.435, allocations: 360 kB / 1.064 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/1.435, allocations: 4 kB / 1.064 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/1.435, allocations: 46.56 kB / 1.064 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.436, allocations: 86.66 kB / 1.064 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/1.439, allocations: 1.432 MB / 1.066 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009137/1.44, allocations: 43.8 kB / 1.066 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/1.44, allocations: 15.69 kB / 1.066 GB, free: 8.91 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.0002969/1.44, allocations: 116.8 kB / 1.066 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/1.44, allocations: 27.78 kB / 1.066 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/1.442, allocations: 385.8 kB / 1.066 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.442, allocations: 4 kB / 1.066 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.442, allocations: 0 / 1.066 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/1.442, allocations: 0 / 1.066 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/1.444, allocations: 0.5179 MB / 1.067 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.444, allocations: 0 / 1.067 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/1.445, allocations: 83.36 kB / 1.067 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/1.445, allocations: 32.67 kB / 1.067 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/1.445, allocations: 8 kB / 1.067 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/1.448, allocations: 1.346 MB / 1.068 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.487e-05/1.448, allocations: 8.094 kB / 1.068 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/1.449, allocations: 0.4892 MB / 1.069 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/1.45, allocations: 146.9 kB / 1.069 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.199e-05/1.45, allocations: 0 / 1.069 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008295/1.451, allocations: 35.95 kB / 1.069 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/1.451, allocations: 34.58 kB / 1.069 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/1.451, allocations: 10.12 kB / 1.069 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003217/1.451, allocations: 168.7 kB / 1.069 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.52e-07/1.451, allocations: 0 / 1.069 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001493/1.453, allocations: 123.9 kB / 1.069 GB, free: 5.531 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.000352/1.453, allocations: 119.2 kB / 1.069 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002858/1.456, allocations: 0.8298 MB / 1.07 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.456, allocations: 0 / 1.07 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.457, allocations: 281.3 kB / 1.071 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008007/1.458, allocations: 39.03 kB / 1.071 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/1.46, allocations: 456.3 kB / 1.071 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/1.461, allocations: 0.7909 MB / 1.072 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009374/1.462, allocations: 97.98 kB / 1.072 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.462, allocations: 27.42 kB / 1.072 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of SimCode: time 1.783e-06/1.462, allocations: 0 / 1.072 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of Templates: time 0.01892/1.481, allocations: 4.115 MB / 1.076 GB, free: 15 MB / 0.698 GB