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.004272/0.004276, allocations: 228.6 kB / 15.82 MB, free: 6.293 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.001144/0.001144, allocations: 173.7 kB / 16.7 MB, free: 5.449 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 3.928/3.928, allocations: 389 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.722/3.722, allocations: 472.3 MB / 0.9024 GB, free: 18.77 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005393/0.0005396, allocations: 12.75 kB / 1.008 GB, free: 13.36 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2127, allocations: 98.73 MB / 1.105 GB, free: 10.68 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.865/1.078, allocations: 154.9 MB / 1.256 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/1.078, allocations: 103.7 kB / 1.256 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07838/1.157, allocations: 19.3 MB / 1.275 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.572e-06/1.157, allocations: 4 kB / 1.275 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.664e-05/1.157, allocations: 7.984 kB / 1.275 GB, free: 7.617 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.001361/1.158, allocations: 0.577 MB / 1.275 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.158, allocations: 8.75 kB / 1.275 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/1.159, allocations: 109.2 kB / 1.276 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007102/1.16, allocations: 283.4 kB / 1.276 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/1.16, allocations: 22.75 kB / 1.276 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.16, allocations: 31.17 kB / 1.276 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.161, allocations: 429.3 kB / 1.276 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.161, allocations: 10.89 kB / 1.276 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/1.161, allocations: 7.5 kB / 1.276 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/1.162, allocations: 31.73 kB / 1.276 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008634/1.162, allocations: 345.7 kB / 1.277 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/1.166, allocations: 2.201 MB / 1.279 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/1.167, allocations: 268 kB / 1.279 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/1.167, allocations: 166.8 kB / 1.279 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/1.167, allocations: 4.172 kB / 1.279 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/1.167, allocations: 34.75 kB / 1.279 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.186e-06/1.167, allocations: 0 / 1.279 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002813/1.17, allocations: 1.044 MB / 1.28 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.17, allocations: 60.38 kB / 1.28 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/1.171, allocations: 246.3 kB / 1.281 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/1.171, allocations: 33.39 kB / 1.281 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/1.171, allocations: 183.8 kB / 1.281 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/1.171, allocations: 93.17 kB / 1.281 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/1.171, allocations: 3.625 kB / 1.281 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.171, allocations: 341.5 kB / 1.281 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/1.172, allocations: 150.3 kB / 1.281 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/1.172, allocations: 234.2 kB / 1.282 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/1.173, allocations: 188.9 kB / 1.282 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.173, allocations: 4 kB / 1.282 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00172/1.174, allocations: 0.5725 MB / 1.282 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.174, allocations: 11.95 kB / 1.282 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.174, allocations: 0 / 1.282 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.175, allocations: 184.4 kB / 1.282 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/1.176, allocations: 62.95 kB / 1.283 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/1.18, allocations: 2.282 MB / 1.285 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/1.181, allocations: 19.45 kB / 1.285 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/1.181, allocations: 11.06 kB / 1.285 GB, free: 14.55 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 () * 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.0002926/1.181, allocations: 168.4 kB / 1.285 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/1.181, allocations: 23.77 kB / 1.285 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008739/1.182, allocations: 356.6 kB / 1.285 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.182, allocations: 12.05 kB / 1.285 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/1.182, allocations: 0 / 1.285 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.182, allocations: 0 / 1.285 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/1.184, allocations: 0.8121 MB / 1.286 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.184, allocations: 0 / 1.286 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008021/1.185, allocations: 70.19 kB / 1.286 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.185, allocations: 4 kB / 1.286 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/1.185, allocations: 6.875 kB / 1.286 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/1.185, allocations: 7.938 kB / 1.286 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.185, allocations: 1.641 kB / 1.286 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/1.186, allocations: 0.6038 MB / 1.287 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/1.186, allocations: 134.8 kB / 1.287 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/1.186, allocations: 7.312 kB / 1.287 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/1.187, allocations: 14.92 kB / 1.287 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/1.187, allocations: 19.8 kB / 1.287 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/1.187, allocations: 4 kB / 1.287 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002642/1.187, allocations: 183.9 kB / 1.287 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.3e-07/1.187, allocations: 0 / 1.287 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006538/1.188, allocations: 98.81 kB / 1.287 GB, free: 12.47 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 () * 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.0002241/1.188, allocations: 118.3 kB / 1.287 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001398/1.189, allocations: 0.5293 MB / 1.288 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.19, allocations: 0 / 1.288 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/1.19, allocations: 155 kB / 1.288 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/1.191, allocations: 68.94 kB / 1.288 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.193, allocations: 1 MB / 1.289 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/1.194, allocations: 0.7978 MB / 1.29 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004258/1.194, allocations: 74.91 kB / 1.29 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/1.194, allocations: 30.69 kB / 1.29 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of SimCode: time 3.096e-06/1.194, allocations: 0 / 1.29 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of Templates: time 0.01235/1.207, allocations: 3.657 MB / 1.293 GB, free: 6.266 MB / 0.6667 GB