Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.509/2.509, allocations: 253.2 MB / 260.6 MB, free: 7.504 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.001438/0.001438, allocations: 179 kB / 319.9 MB, free: 3.023 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.037/2.037, allocations: 205.5 MB / 0.5708 GB, free: 15.15 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.001218/0.001218, allocations: 101.9 kB / 0.6751 GB, free: 4.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.692e-05, allocations: 4 kB / 0.7849 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 106.3 MB / 0.8887 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9103/1.117, allocations: 148 MB / 1.033 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003646/1.117, allocations: 89.88 kB / 1.033 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07897/1.196, allocations: 20.3 MB / 1.053 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.633e-06/1.196, allocations: 0 / 1.053 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.011e-05/1.196, allocations: 8 kB / 1.053 GB, free: 5.57 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001453/1.198, allocations: 0.6444 MB / 1.054 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.198, allocations: 8.031 kB / 1.054 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/1.199, allocations: 143.2 kB / 1.054 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009321/1.2, allocations: 373 kB / 1.054 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/1.2, allocations: 12 kB / 1.054 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/1.2, allocations: 19.94 kB / 1.054 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008136/1.201, allocations: 281.3 kB / 1.055 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/1.202, allocations: 0.5418 MB / 1.055 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/1.202, allocations: 3.906 kB / 1.055 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/1.203, allocations: 4 kB / 1.055 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/1.203, allocations: 32.48 kB / 1.055 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005439/1.208, allocations: 3.286 MB / 1.058 GB, free: 332 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008824/1.209, allocations: 303.7 kB / 1.059 GB, free: 112 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/1.21, allocations: 162.2 kB / 1.059 GB, free: 0 / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.394e-05/1.21, allocations: 4.047 kB / 1.059 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/1.21, allocations: 30.56 kB / 1.059 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/1.21, allocations: 4 kB / 1.059 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001727/1.211, allocations: 0.5684 MB / 1.059 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/1.212, allocations: 51.64 kB / 1.059 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/1.212, allocations: 254.7 kB / 1.06 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/1.212, allocations: 25.7 kB / 1.06 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/1.212, allocations: 247.2 kB / 1.06 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/1.212, allocations: 89.31 kB / 1.06 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/1.212, allocations: 4 kB / 1.06 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.213, allocations: 355.4 kB / 1.06 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/1.213, allocations: 119.7 kB / 1.06 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/1.213, allocations: 246.3 kB / 1.061 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/1.214, allocations: 161.8 kB / 1.061 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.214, allocations: 4 kB / 1.061 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001257/1.215, allocations: 478.9 kB / 1.061 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/1.215, allocations: 8 kB / 1.061 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.215, allocations: 4 kB / 1.061 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/1.215, allocations: 88.05 kB / 1.061 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/1.216, allocations: 87.44 kB / 1.061 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.216, allocations: 4 kB / 1.061 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/1.217, allocations: 27.91 kB / 1.062 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/1.217, allocations: 15.12 kB / 1.062 GB, free: 13.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.217, allocations: 112.9 kB / 1.062 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/1.217, allocations: 42.14 kB / 1.062 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/1.218, allocations: 405.6 kB / 1.062 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.218, allocations: 4 kB / 1.062 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.218, allocations: 0 / 1.062 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.218, allocations: 0 / 1.062 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/1.22, allocations: 0.8709 MB / 1.063 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.22, allocations: 0 / 1.063 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/1.221, allocations: 54.52 kB / 1.063 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/1.221, allocations: 84.61 kB / 1.063 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/1.221, allocations: 0 / 1.063 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/1.221, allocations: 4 kB / 1.063 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.221, allocations: 0 / 1.063 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.222, allocations: 0.5303 MB / 1.064 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/1.223, allocations: 131.3 kB / 1.064 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/1.223, allocations: 7.984 kB / 1.064 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/1.223, allocations: 19.97 kB / 1.064 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/1.223, allocations: 27.59 kB / 1.064 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/1.223, allocations: 8 kB / 1.064 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002776/1.224, allocations: 192.9 kB / 1.064 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.2e-07/1.224, allocations: 3.938 kB / 1.064 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006117/1.224, allocations: 80 kB / 1.064 GB, free: 11.22 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/1.224, allocations: 107.2 kB / 1.064 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001105/1.226, allocations: 0.5702 MB / 1.065 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.226, allocations: 0 / 1.065 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/1.226, allocations: 413.9 kB / 1.065 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/1.227, allocations: 116.9 kB / 1.065 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/1.229, allocations: 0.503 MB / 1.066 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/1.229, allocations: 0.8384 MB / 1.066 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004489/1.23, allocations: 71.22 kB / 1.067 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/1.23, allocations: 31.44 kB / 1.067 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of SimCode: time 7.42e-07/1.23, allocations: 0 / 1.067 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of Templates: time 0.01724/1.247, allocations: 3.997 MB / 1.07 GB, free: 4.68 MB / 0.6823 GB