Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01564/0.01564, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001855/0.001856, allocations: 180.1 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.009/2.009, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.399/2.399, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004693, allocations: 12 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5982, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.8284, allocations: 154.9 MB / 0.8346 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/0.8288, allocations: 99.94 kB / 0.8347 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07412/0.9029, allocations: 19.32 MB / 0.8535 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.705e-06/0.903, allocations: 4 kB / 0.8535 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.967e-05/0.903, allocations: 8 kB / 0.8536 GB, free: 15.71 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.001203/0.9042, allocations: 0.5728 MB / 0.8541 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.9043, allocations: 8.031 kB / 0.8541 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.9056, allocations: 107.5 kB / 0.8542 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.9062, allocations: 291.7 kB / 0.8545 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.9063, allocations: 20.56 kB / 0.8545 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.9064, allocations: 27.98 kB / 0.8546 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/0.9074, allocations: 429.1 kB / 0.855 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.9074, allocations: 7.906 kB / 0.855 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.9075, allocations: 12 kB / 0.855 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/0.9076, allocations: 20.55 kB / 0.855 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.9083, allocations: 349.9 kB / 0.8553 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.9119, allocations: 2.203 MB / 0.8575 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.9125, allocations: 270.9 kB / 0.8577 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.9126, allocations: 4.188 kB / 0.8577 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.9127, allocations: 34.73 kB / 0.8578 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.839e-06/0.9127, allocations: 0 / 0.8578 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002532/0.9152, allocations: 1.048 MB / 0.8588 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.9153, allocations: 55.41 kB / 0.8589 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.9157, allocations: 224 kB / 0.8591 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.9157, allocations: 33.64 kB / 0.8591 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.9159, allocations: 187.9 kB / 0.8593 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.916, allocations: 90.73 kB / 0.8594 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.9161, allocations: 8 kB / 0.8594 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.9162, allocations: 334.8 kB / 0.8597 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.9166, allocations: 151.9 kB / 0.8598 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.917, allocations: 241.2 kB / 0.8601 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.9174, allocations: 178.8 kB / 0.8602 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.9175, allocations: 4 kB / 0.8602 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001541/0.919, allocations: 0.5757 MB / 0.8608 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.9191, allocations: 8 kB / 0.8608 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9191, allocations: 320 / 0.8608 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/0.9199, allocations: 192.6 kB / 0.861 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.9203, allocations: 67.89 kB / 0.8611 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.9243, allocations: 2.331 MB / 0.8633 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.9247, allocations: 15.98 kB / 0.8634 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.9248, allocations: 16 kB / 0.8634 GB, free: 5.031 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 () * Number of clocked 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.0002869/0.9251, allocations: 165.8 kB / 0.8635 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/0.9252, allocations: 19.81 kB / 0.8635 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008218/0.926, allocations: 363.3 kB / 0.8639 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.165e-06/0.926, allocations: 0 / 0.8639 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-06/0.926, allocations: 0 / 0.8639 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.426e-06/0.926, allocations: 3.984 kB / 0.8639 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.9276, allocations: 0.8017 MB / 0.8647 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.253e-06/0.9277, allocations: 12.02 kB / 0.8647 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.9282, allocations: 71.88 kB / 0.8648 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.045e-06/0.9282, allocations: 0 / 0.8648 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.9283, allocations: 8 kB / 0.8648 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.9283, allocations: 7.984 kB / 0.8648 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9283, allocations: 0 / 0.8648 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.9295, allocations: 0.6338 MB / 0.8654 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.9297, allocations: 132.9 kB / 0.8655 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.9298, allocations: 7.984 kB / 0.8655 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.9301, allocations: 11.98 kB / 0.8655 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.9301, allocations: 15.98 kB / 0.8656 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.9302, allocations: 4 kB / 0.8656 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002615/0.9304, allocations: 176.5 kB / 0.8657 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.5e-07/0.9305, allocations: 4 kB / 0.8657 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006512/0.9311, allocations: 103.9 kB / 0.8658 GB, free: 2.391 MB / 0.6823 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 () * Number of clocked 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.0002252/0.9314, allocations: 119.2 kB / 0.8659 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.9326, allocations: 0.5337 MB / 0.8665 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.903e-06/0.9326, allocations: 0 / 0.8665 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.9329, allocations: 155.7 kB / 0.8666 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.9334, allocations: 51.61 kB / 0.8667 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.9355, allocations: 1.003 MB / 0.8676 GB, free: 492 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.9361, allocations: 0.8029 MB / 0.8684 GB, free: 15.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003636/0.9365, allocations: 78.89 kB / 0.8685 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.9366, allocations: 23.44 kB / 0.8685 GB, free: 15.55 MB / 0.698 GB Notification: Performance of SimCode: time 1.709e-06/0.9367, allocations: 0 / 0.8685 GB, free: 15.55 MB / 0.698 GB Notification: Performance of Templates: time 0.01091/0.9476, allocations: 3.637 MB / 0.8721 GB, free: 11.93 MB / 0.698 GB