Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.326/2.326, allocations: 251.1 MB / 266.1 MB, free: 11.65 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.002044/0.002044, allocations: 177.5 kB / 325.6 MB, free: 2.852 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.398/2.398, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001131/0.001131, allocations: 91.92 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 18 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/0.4888, allocations: 159.4 MB / 1.055 GB, free: 1.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/0.4893, allocations: 95.95 kB / 1.055 GB, free: 1.762 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.7036/1.193, allocations: 19.49 MB / 1.074 GB, free: 154.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.815e-06/1.193, allocations: 0 / 1.074 GB, free: 154.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.846e-05/1.193, allocations: 7.562 kB / 1.074 GB, free: 154.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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001935/1.195, allocations: 0.6262 MB / 1.074 GB, free: 153.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/1.195, allocations: 8.875 kB / 1.074 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/1.197, allocations: 102 kB / 1.074 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/1.198, allocations: 288.5 kB / 1.075 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/1.198, allocations: 22.92 kB / 1.075 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.198, allocations: 32.56 kB / 1.075 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.2, allocations: 483.7 kB / 1.075 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/1.2, allocations: 1.312 kB / 1.075 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/1.2, allocations: 15.44 kB / 1.075 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/1.2, allocations: 27.61 kB / 1.075 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/1.202, allocations: 394.3 kB / 1.076 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/1.205, allocations: 2.051 MB / 1.078 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009902/1.206, allocations: 224 kB / 1.078 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/1.206, allocations: 10.45 kB / 1.078 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.207, allocations: 35.09 kB / 1.078 GB, free: 151.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.906e-06/1.207, allocations: 4 kB / 1.078 GB, free: 151.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001882/1.208, allocations: 459.9 kB / 1.078 GB, free: 151 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/1.209, allocations: 62.8 kB / 1.078 GB, free: 150.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/1.209, allocations: 235.7 kB / 1.079 GB, free: 150.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/1.209, allocations: 29.39 kB / 1.079 GB, free: 150.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/1.209, allocations: 210.3 kB / 1.079 GB, free: 150.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/1.209, allocations: 63.58 kB / 1.079 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/1.209, allocations: 5 kB / 1.079 GB, free: 150.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.209, allocations: 336.9 kB / 1.079 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/1.21, allocations: 105.3 kB / 1.079 GB, free: 150.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/1.21, allocations: 219.1 kB / 1.08 GB, free: 150 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/1.211, allocations: 131.3 kB / 1.08 GB, free: 150 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/1.211, allocations: 1.5 kB / 1.08 GB, free: 150 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001318/1.212, allocations: 382.2 kB / 1.08 GB, free: 149.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000286/1.213, allocations: 1.311 MB / 1.081 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.213, allocations: 2.656 kB / 1.081 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/1.213, allocations: 32.05 kB / 1.081 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/1.213, allocations: 77.02 kB / 1.081 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004022/1.214, allocations: 0.5531 MB / 1.082 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/1.214, allocations: 51.73 kB / 1.082 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/1.214, allocations: 18.58 kB / 1.082 GB, free: 147.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.214, allocations: 4.562 kB / 1.082 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/1.216, allocations: 308.9 kB / 1.082 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.216, allocations: 3.438 kB / 1.082 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.216, allocations: 5.25 kB / 1.082 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/1.216, allocations: 81.86 kB / 1.082 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.216, allocations: 4.25 kB / 1.082 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/1.217, allocations: 39.94 kB / 1.082 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/1.217, allocations: 10 kB / 1.082 GB, free: 147.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003645/1.217, allocations: 251.4 kB / 1.083 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/1.217, allocations: 24.72 kB / 1.083 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/1.217, allocations: 38.52 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.217, allocations: 1.344 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.217, allocations: 1.469 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/1.217, allocations: 0 / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/1.218, allocations: 348.9 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.218, allocations: 5.172 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/1.219, allocations: 39.97 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/1.219, allocations: 34.05 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/1.219, allocations: 1.219 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/1.22, allocations: 1.331 MB / 1.084 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.22, allocations: 1.031 kB / 1.084 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/1.221, allocations: 382.7 kB / 1.085 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/1.222, allocations: 118.3 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/1.222, allocations: 5.062 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/1.222, allocations: 28.42 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/1.222, allocations: 10.33 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/1.222, allocations: 12.19 kB / 1.085 GB, free: 145.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002766/1.222, allocations: 181.9 kB / 1.085 GB, free: 145.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.222, allocations: 0 / 1.085 GB, free: 145.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008789/1.223, allocations: 144.8 kB / 1.085 GB, free: 145.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/1.224, allocations: 104.5 kB / 1.085 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0018/1.225, allocations: 429.4 kB / 1.086 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.225, allocations: 0.5 kB / 1.086 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/1.226, allocations: 235.1 kB / 1.086 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/1.227, allocations: 62.59 kB / 1.086 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/1.228, allocations: 0.6408 MB / 1.087 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/1.229, allocations: 0.8091 MB / 1.087 GB, free: 143.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005637/1.229, allocations: 72.59 kB / 1.088 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/1.229, allocations: 24.72 kB / 1.088 GB, free: 143.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.229, allocations: 0 / 1.088 GB, free: 143.6 MB / 0.698 GB Notification: Performance of Templates: time 0.01099/1.24, allocations: 2.955 MB / 1.09 GB, free: 142.2 MB / 0.698 GB