Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadModel(Buildings): time 4.194/4.194, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.019e-05, allocations: 3.953 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2577, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7195/0.9772, allocations: 154.8 MB / 0.7859 GB, free: 58.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.9775, allocations: 94.91 kB / 0.786 GB, free: 58.04 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09279/1.07, allocations: 19.2 MB / 0.8047 GB, free: 55.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.908e-06/1.07, allocations: 0 / 0.8047 GB, free: 55.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.185e-05/1.07, allocations: 8.781 kB / 0.8047 GB, free: 55.84 MB / 0.6511 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.001616/1.072, allocations: 0.5451 MB / 0.8053 GB, free: 55.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/1.072, allocations: 8.812 kB / 0.8053 GB, free: 55.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/1.075, allocations: 115.9 kB / 0.8054 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/1.076, allocations: 291 kB / 0.8057 GB, free: 55.15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/1.076, allocations: 19.42 kB / 0.8057 GB, free: 55.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/1.076, allocations: 26.94 kB / 0.8057 GB, free: 55.14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/1.077, allocations: 423.6 kB / 0.8061 GB, free: 55.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/1.077, allocations: 3.938 kB / 0.8061 GB, free: 55.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/1.077, allocations: 14.77 kB / 0.8061 GB, free: 55.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.895e-05/1.078, allocations: 31.77 kB / 0.8061 GB, free: 55.01 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/1.079, allocations: 343 kB / 0.8065 GB, free: 55 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004657/1.084, allocations: 2.202 MB / 0.8086 GB, free: 53.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/1.085, allocations: 253 kB / 0.8089 GB, free: 53.37 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/1.085, allocations: 164.3 kB / 0.809 GB, free: 53.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/1.085, allocations: 4.125 kB / 0.809 GB, free: 53.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/1.085, allocations: 30.75 kB / 0.8091 GB, free: 53.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 5.615e-06/1.085, allocations: 0 / 0.8091 GB, free: 53.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.00278/1.088, allocations: 0.8163 MB / 0.8099 GB, free: 53.01 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/1.088, allocations: 59.27 kB / 0.8099 GB, free: 52.94 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/1.089, allocations: 227.5 kB / 0.8101 GB, free: 52.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/1.089, allocations: 29.14 kB / 0.8102 GB, free: 52.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/1.089, allocations: 186.8 kB / 0.8103 GB, free: 52.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/1.089, allocations: 87.75 kB / 0.8104 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/1.089, allocations: 7.125 kB / 0.8104 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.089, allocations: 336.1 kB / 0.8107 GB, free: 52.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/1.09, allocations: 157.1 kB / 0.8109 GB, free: 52.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/1.09, allocations: 219.8 kB / 0.8111 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/1.091, allocations: 189 kB / 0.8113 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.455e-06/1.091, allocations: 0 / 0.8113 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002464/1.094, allocations: 0.5681 MB / 0.8118 GB, free: 52.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/1.094, allocations: 3.906 kB / 0.8118 GB, free: 52.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.094, allocations: 7.859 kB / 0.8118 GB, free: 52.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/1.095, allocations: 180.9 kB / 0.812 GB, free: 52.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/1.096, allocations: 69.61 kB / 0.8121 GB, free: 52.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00559/1.101, allocations: 2.268 MB / 0.8143 GB, free: 50.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008309/1.102, allocations: 21.64 kB / 0.8143 GB, free: 50.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/1.102, allocations: 7.812 kB / 0.8143 GB, free: 50.77 MB / 0.6511 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.0002203/1.103, allocations: 123.5 kB / 0.8144 GB, free: 50.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/1.103, allocations: 19.53 kB / 0.8145 GB, free: 50.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/1.104, allocations: 365.7 kB / 0.8148 GB, free: 50.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.68e-06/1.104, allocations: 3.938 kB / 0.8148 GB, free: 50.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-06/1.104, allocations: 0 / 0.8148 GB, free: 50.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.655e-06/1.104, allocations: 7.188 kB / 0.8148 GB, free: 50.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/1.105, allocations: 0.8094 MB / 0.8156 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.123e-06/1.105, allocations: 0 / 0.8156 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/1.106, allocations: 74.61 kB / 0.8157 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.797e-06/1.106, allocations: 0 / 0.8157 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/1.106, allocations: 14.72 kB / 0.8157 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.13e-06/1.106, allocations: 3.938 kB / 0.8157 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.548e-06/1.106, allocations: 0 / 0.8157 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/1.107, allocations: 0.6165 MB / 0.8163 GB, free: 50.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/1.107, allocations: 132.5 kB / 0.8164 GB, free: 49.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/1.107, allocations: 7.594 kB / 0.8164 GB, free: 49.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/1.107, allocations: 10.97 kB / 0.8165 GB, free: 49.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/1.107, allocations: 17.42 kB / 0.8165 GB, free: 49.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/1.107, allocations: 7.875 kB / 0.8165 GB, free: 49.94 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001834/1.108, allocations: 174.9 kB / 0.8166 GB, free: 49.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.65e-07/1.108, allocations: 0 / 0.8166 GB, free: 49.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005939/1.108, allocations: 97.12 kB / 0.8167 GB, free: 49.86 MB / 0.6511 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.0001653/1.108, allocations: 133.1 kB / 0.8169 GB, free: 49.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009634/1.109, allocations: 0.5168 MB / 0.8174 GB, free: 49.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.109, allocations: 0.625 kB / 0.8174 GB, free: 49.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/1.11, allocations: 152.6 kB / 0.8175 GB, free: 49.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/1.11, allocations: 47.14 kB / 0.8176 GB, free: 49.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/1.112, allocations: 0.7045 MB / 0.8182 GB, free: 49.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.112, allocations: 0.8026 MB / 0.819 GB, free: 48.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000294/1.112, allocations: 76.02 kB / 0.8191 GB, free: 48.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/1.112, allocations: 26.16 kB / 0.8191 GB, free: 48.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.681e-06/1.113, allocations: 0 / 0.8191 GB, free: 48.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.009266/1.122, allocations: 3.654 MB / 0.8227 GB, free: 48.27 MB / 0.6511 GB