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.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.383/2.383, allocations: 253.2 MB / 260.6 MB, free: 7.426 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.001457/0.001457, allocations: 180.8 kB / 319.9 MB, free: 3.059 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.309/2.309, 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.001157/0.001157, allocations: 95.98 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.119e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2955, allocations: 106.2 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9188/1.214, allocations: 162 MB / 1.047 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004966/1.215, allocations: 98.75 kB / 1.047 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.09809/1.313, allocations: 19.18 MB / 1.066 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/1.313, allocations: 0 / 1.066 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.652e-05/1.313, allocations: 4 kB / 1.066 GB, free: 9.215 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001329/1.314, allocations: 0.5426 MB / 1.066 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/1.315, allocations: 16.03 kB / 1.066 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/1.316, allocations: 103.5 kB / 1.066 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/1.317, allocations: 296.6 kB / 1.067 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/1.317, allocations: 8 kB / 1.067 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/1.317, allocations: 12 kB / 1.067 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006694/1.318, allocations: 256.5 kB / 1.067 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008399/1.318, allocations: 393.2 kB / 1.067 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/1.319, allocations: 3.125 kB / 1.067 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/1.319, allocations: 4 kB / 1.067 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.301e-05/1.319, allocations: 20.55 kB / 1.067 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/1.322, allocations: 2.156 MB / 1.069 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/1.323, allocations: 255.8 kB / 1.07 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/1.323, allocations: 148.8 kB / 1.07 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/1.324, allocations: 7.375 kB / 1.07 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.324, allocations: 34.75 kB / 1.07 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 2.886e-06/1.324, allocations: 0 / 1.07 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001968/1.326, allocations: 0.7761 MB / 1.071 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/1.326, allocations: 55.41 kB / 1.071 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/1.326, allocations: 199.1 kB / 1.071 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/1.326, allocations: 25.7 kB / 1.071 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/1.326, allocations: 180.8 kB / 1.071 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.842e-05/1.326, allocations: 84.81 kB / 1.071 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/1.326, allocations: 7.938 kB / 1.071 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.326, allocations: 337.3 kB / 1.071 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/1.327, allocations: 139.8 kB / 1.072 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/1.327, allocations: 220.7 kB / 1.072 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/1.328, allocations: 173.8 kB / 1.072 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.328, allocations: 4 kB / 1.072 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001751/1.33, allocations: 0.5352 MB / 1.072 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.33, allocations: 8 kB / 1.072 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.33, allocations: 7.984 kB / 1.072 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/1.331, allocations: 179 kB / 1.073 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/1.331, allocations: 63.84 kB / 1.073 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004035/1.335, allocations: 2.195 MB / 1.075 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/1.336, allocations: 7.984 kB / 1.075 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/1.336, allocations: 15.5 kB / 1.075 GB, free: 0.7109 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000163/1.336, allocations: 112.9 kB / 1.075 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/1.336, allocations: 19.8 kB / 1.075 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008386/1.337, allocations: 329.6 kB / 1.075 GB, free: 352 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/1.337, allocations: 4 kB / 1.075 GB, free: 348 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.337, allocations: 3.953 kB / 1.075 GB, free: 344 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.337, allocations: 4 kB / 1.075 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/1.339, allocations: 0.734 MB / 1.076 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/1.339, allocations: 0 / 1.076 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/1.34, allocations: 75.38 kB / 1.076 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/1.34, allocations: 8 kB / 1.076 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/1.34, allocations: 4 kB / 1.076 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/1.34, allocations: 3.953 kB / 1.076 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.34, allocations: 0 / 1.076 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/1.341, allocations: 0.6113 MB / 1.077 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/1.341, allocations: 136.1 kB / 1.077 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/1.341, allocations: 0 / 1.077 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/1.342, allocations: 7.984 kB / 1.077 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/1.342, allocations: 15.05 kB / 1.077 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/1.342, allocations: 8 kB / 1.077 GB, free: 14.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002167/1.342, allocations: 155.6 kB / 1.077 GB, free: 14.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.342, allocations: 0 / 1.077 GB, free: 14.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006707/1.343, allocations: 87.98 kB / 1.077 GB, free: 14.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/1.343, allocations: 121.9 kB / 1.077 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001258/1.344, allocations: 0.4887 MB / 1.078 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.344, allocations: 4.562 kB / 1.078 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/1.345, allocations: 146.6 kB / 1.078 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/1.345, allocations: 51.42 kB / 1.078 GB, free: 14.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/1.347, allocations: 0.6855 MB / 1.079 GB, free: 13.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/1.348, allocations: 0.8006 MB / 1.079 GB, free: 12.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004129/1.348, allocations: 81.98 kB / 1.079 GB, free: 12.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/1.348, allocations: 23.44 kB / 1.079 GB, free: 12.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.348, allocations: 0 / 1.079 GB, free: 12.5 MB / 0.698 GB Notification: Performance of Templates: time 0.01151/1.36, allocations: 3.441 MB / 1.083 GB, free: 9.078 MB / 0.698 GB