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.486/2.486, allocations: 252.6 MB / 265.2 MB, free: 5.734 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.001439/0.001439, allocations: 183.8 kB / 324.5 MB, free: 14.34 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.425/2.425, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001062/0.001062, allocations: 94.06 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.38e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2333, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8816/1.115, allocations: 161.7 MB / 1.053 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/1.115, allocations: 102.5 kB / 1.053 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07974/1.195, allocations: 19.25 MB / 1.072 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/1.195, allocations: 0 / 1.072 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.489e-05/1.195, allocations: 8 kB / 1.072 GB, free: 6.504 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.001278/1.197, allocations: 0.5408 MB / 1.072 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.197, allocations: 8.031 kB / 1.072 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/1.198, allocations: 111.5 kB / 1.072 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/1.199, allocations: 293.9 kB / 1.073 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/1.199, allocations: 24.05 kB / 1.073 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.444e-05/1.199, allocations: 23.12 kB / 1.073 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/1.2, allocations: 424.1 kB / 1.073 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/1.2, allocations: 3.938 kB / 1.073 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/1.2, allocations: 14.8 kB / 1.073 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-05/1.2, allocations: 27.86 kB / 1.073 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/1.201, allocations: 341.1 kB / 1.073 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/1.205, allocations: 2.209 MB / 1.076 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/1.206, allocations: 258.3 kB / 1.076 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/1.206, allocations: 158.5 kB / 1.076 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/1.206, allocations: 4.188 kB / 1.076 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.206, allocations: 30.75 kB / 1.076 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.046e-06/1.206, allocations: 0 / 1.076 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002033/1.208, allocations: 0.818 MB / 1.077 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/1.209, allocations: 62.86 kB / 1.077 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/1.209, allocations: 225 kB / 1.077 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/1.209, allocations: 29.2 kB / 1.077 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/1.209, allocations: 181.4 kB / 1.077 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/1.209, allocations: 89.36 kB / 1.077 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/1.209, allocations: 11.12 kB / 1.077 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.21, allocations: 336.8 kB / 1.078 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/1.21, allocations: 146.3 kB / 1.078 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/1.21, allocations: 223.6 kB / 1.078 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.211, allocations: 185.5 kB / 1.078 GB, free: 416 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.211, allocations: 0 / 1.078 GB, free: 416 kB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001767/1.213, allocations: 0.5622 MB / 1.079 GB, free: 15.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.213, allocations: 8 kB / 1.079 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.213, allocations: 3.953 kB / 1.079 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.214, allocations: 187.2 kB / 1.079 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/1.214, allocations: 59.89 kB / 1.079 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/1.219, allocations: 2.277 MB / 1.081 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/1.219, allocations: 19.11 kB / 1.081 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/1.219, allocations: 15.5 kB / 1.081 GB, free: 13.67 MB / 0.698 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.0001613/1.219, allocations: 116 kB / 1.081 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/1.22, allocations: 27.7 kB / 1.081 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008966/1.22, allocations: 355.1 kB / 1.082 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/1.221, allocations: 11.98 kB / 1.082 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.221, allocations: 0 / 1.082 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.221, allocations: 0 / 1.082 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/1.222, allocations: 0.8082 MB / 1.083 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.222, allocations: 0 / 1.083 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/1.223, allocations: 75.88 kB / 1.083 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/1.223, allocations: 0 / 1.083 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/1.223, allocations: 11.12 kB / 1.083 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.223, allocations: 0 / 1.083 GB, free: 12.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.223, allocations: 4 kB / 1.083 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.225, allocations: 0.6239 MB / 1.083 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/1.225, allocations: 140.5 kB / 1.083 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/1.225, allocations: 7.438 kB / 1.083 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/1.225, allocations: 11.61 kB / 1.083 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/1.225, allocations: 11.98 kB / 1.083 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/1.226, allocations: 11.38 kB / 1.083 GB, free: 11.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002682/1.226, allocations: 170.9 kB / 1.084 GB, free: 11.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.226, allocations: 0 / 1.084 GB, free: 11.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006329/1.226, allocations: 101.3 kB / 1.084 GB, free: 11.57 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.0002484/1.227, allocations: 128.9 kB / 1.084 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001413/1.228, allocations: 0.5179 MB / 1.084 GB, free: 11.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.228, allocations: 0 / 1.084 GB, free: 11.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/1.229, allocations: 149.8 kB / 1.085 GB, free: 10.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/1.229, allocations: 46.03 kB / 1.085 GB, free: 10.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/1.231, allocations: 0.697 MB / 1.085 GB, free: 10.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/1.232, allocations: 0.8053 MB / 1.086 GB, free: 9.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004335/1.232, allocations: 74.91 kB / 1.086 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/1.232, allocations: 23.44 kB / 1.086 GB, free: 9.309 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.232, allocations: 0 / 1.086 GB, free: 9.309 MB / 0.698 GB Notification: Performance of Templates: time 0.01207/1.244, allocations: 3.661 MB / 1.09 GB, free: 5.68 MB / 0.698 GB