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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.21/4.21, allocations: 433.3 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.916e-05, allocations: 4 kB / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5021, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2787/0.7809, allocations: 154.1 MB / 0.7794 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.7813, allocations: 95.92 kB / 0.7795 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07131/0.8526, allocations: 19.13 MB / 0.7982 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.692e-06/0.8526, allocations: 3.938 kB / 0.7982 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.04e-05/0.8527, allocations: 8 kB / 0.7982 GB, free: 1.945 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001117/0.8538, allocations: 0.5528 MB / 0.7987 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.8539, allocations: 12.03 kB / 0.7988 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.8551, allocations: 107.5 kB / 0.7989 GB, free: 1.23 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.8557, allocations: 287 kB / 0.7991 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.8557, allocations: 8 kB / 0.7991 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.8558, allocations: 16 kB / 0.7992 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006098/0.8564, allocations: 249 kB / 0.7994 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/0.8572, allocations: 392.2 kB / 0.7998 GB, free: 236 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.8573, allocations: 3.938 kB / 0.7998 GB, free: 232 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.8573, allocations: 4 kB / 0.7998 GB, free: 228 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/0.8574, allocations: 28.55 kB / 0.7998 GB, free: 196 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4403/1.298, allocations: 2.136 MB / 0.8019 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/1.298, allocations: 258.3 kB / 0.8021 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/1.299, allocations: 148.5 kB / 0.8023 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/1.299, allocations: 4.344 kB / 0.8023 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.299, allocations: 36.34 kB / 0.8023 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=22): time 4.132e-06/1.299, allocations: 3.531 kB / 0.8023 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23): time 0.001778/1.301, allocations: 0.7729 MB / 0.8031 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/1.301, allocations: 55 kB / 0.8031 GB, free: 157 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/1.301, allocations: 199.8 kB / 0.8033 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/1.301, allocations: 26.23 kB / 0.8033 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/1.301, allocations: 194.6 kB / 0.8035 GB, free: 156.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/1.301, allocations: 78.56 kB / 0.8036 GB, free: 156.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/1.301, allocations: 0.5312 kB / 0.8036 GB, free: 156.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/1.301, allocations: 340.9 kB / 0.8039 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/1.302, allocations: 138 kB / 0.8041 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/1.302, allocations: 221 kB / 0.8043 GB, free: 156.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/1.303, allocations: 178.3 kB / 0.8044 GB, free: 156.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.161e-06/1.303, allocations: 1.312 kB / 0.8044 GB, free: 156.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001427/1.304, allocations: 0.54 MB / 0.805 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.304, allocations: 6.203 kB / 0.805 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.304, allocations: 5.625 kB / 0.805 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008236/1.305, allocations: 174.2 kB / 0.8051 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/1.305, allocations: 65.27 kB / 0.8052 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/1.308, allocations: 2.19 MB / 0.8073 GB, free: 155 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/1.309, allocations: 11.36 kB / 0.8074 GB, free: 155 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/1.309, allocations: 11.52 kB / 0.8074 GB, free: 155 MB / 0.6667 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.0001222/1.309, allocations: 110.9 kB / 0.8075 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/1.309, allocations: 25.5 kB / 0.8075 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/1.31, allocations: 331.2 kB / 0.8078 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.31, allocations: 3.188 kB / 0.8078 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-06/1.31, allocations: 0 / 0.8078 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.546e-06/1.31, allocations: 5.828 kB / 0.8078 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/1.311, allocations: 0.7363 MB / 0.8085 GB, free: 154.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.794e-06/1.311, allocations: 4.656 kB / 0.8085 GB, free: 154.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005181/1.312, allocations: 78.61 kB / 0.8086 GB, free: 154.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-06/1.312, allocations: 1.562 kB / 0.8086 GB, free: 154.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/1.312, allocations: 3.859 kB / 0.8086 GB, free: 154.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.2e-06/1.312, allocations: 2.188 kB / 0.8086 GB, free: 154.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.312, allocations: 11.44 kB / 0.8086 GB, free: 154.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/1.313, allocations: 0.6004 MB / 0.8092 GB, free: 154.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/1.313, allocations: 131.8 kB / 0.8093 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/1.313, allocations: 6.891 kB / 0.8094 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/1.313, allocations: 8.047 kB / 0.8094 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/1.314, allocations: 15.56 kB / 0.8094 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/1.314, allocations: 9.5 kB / 0.8094 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001927/1.314, allocations: 155.5 kB / 0.8095 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.84e-07/1.314, allocations: 0 / 0.8095 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006505/1.314, allocations: 94.98 kB / 0.8096 GB, free: 154.2 MB / 0.6667 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.0001998/1.315, allocations: 119.6 kB / 0.8097 GB, free: 154.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001056/1.316, allocations: 0.4899 MB / 0.8102 GB, free: 154 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.742e-06/1.316, allocations: 1.5 kB / 0.8102 GB, free: 154 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/1.316, allocations: 137.1 kB / 0.8103 GB, free: 154 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/1.316, allocations: 41.42 kB / 0.8104 GB, free: 154 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/1.318, allocations: 0.7001 MB / 0.8111 GB, free: 153.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/1.319, allocations: 0.8071 MB / 0.8119 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003484/1.319, allocations: 71.89 kB / 0.8119 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.319, allocations: 22.3 kB / 0.812 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.826e-06/1.319, allocations: 1 kB / 0.812 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.01017/1.329, allocations: 3.458 MB / 0.8153 GB, free: 152.8 MB / 0.6667 GB