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.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004207/0.004212, allocations: 232.5 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.001134/0.001134, allocations: 173.2 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.881/3.881, allocations: 389 MB / 406.5 MB, free: 11.77 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.964/3.964, allocations: 472.3 MB / 0.9024 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006363/0.0006365, allocations: 8 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1799, allocations: 98.71 MB / 1.105 GB, free: 80.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.862/1.042, allocations: 146.4 MB / 1.248 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/1.042, allocations: 101.6 kB / 1.248 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06638/1.109, allocations: 17 MB / 1.264 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.605e-06/1.109, allocations: 3.5 kB / 1.264 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.491e-05/1.109, allocations: 4 kB / 1.264 GB, free: 1.758 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001721/1.111, allocations: 0.6371 MB / 1.265 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.111, allocations: 8.031 kB / 1.265 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/1.112, allocations: 98.78 kB / 1.265 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/1.112, allocations: 275.6 kB / 1.265 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/1.113, allocations: 17.73 kB / 1.265 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/1.113, allocations: 27.11 kB / 1.265 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/1.114, allocations: 426.2 kB / 1.266 GB, free: 328 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/1.114, allocations: 3.938 kB / 1.266 GB, free: 324 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/1.114, allocations: 10.44 kB / 1.266 GB, free: 320 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/1.114, allocations: 22.42 kB / 1.266 GB, free: 296 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/1.116, allocations: 410.2 kB / 1.266 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/1.119, allocations: 1.659 MB / 1.268 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/1.121, allocations: 482.8 kB / 1.268 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007825/1.122, allocations: 210.6 kB / 1.268 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/1.122, allocations: 101 kB / 1.269 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009123/1.123, allocations: 270 kB / 1.269 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.356e-06/1.123, allocations: 0.75 kB / 1.269 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.003205/1.126, allocations: 0.7817 MB / 1.27 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/1.126, allocations: 89.03 kB / 1.27 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/1.127, allocations: 219.4 kB / 1.27 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/1.127, allocations: 33.27 kB / 1.27 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/1.127, allocations: 167.2 kB / 1.27 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/1.127, allocations: 93.73 kB / 1.27 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/1.127, allocations: 7.875 kB / 1.27 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.127, allocations: 338.3 kB / 1.27 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007926/1.128, allocations: 182.8 kB / 1.271 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007903/1.129, allocations: 254.1 kB / 1.271 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008315/1.13, allocations: 234.9 kB / 1.271 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.13, allocations: 0 / 1.271 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002083/1.132, allocations: 0.5571 MB / 1.272 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/1.132, allocations: 186.1 kB / 1.272 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.132, allocations: 0 / 1.272 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/1.132, allocations: 47.98 kB / 1.272 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/1.133, allocations: 93.59 kB / 1.272 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/1.135, allocations: 1.509 MB / 1.273 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/1.136, allocations: 50.17 kB / 1.273 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/1.136, allocations: 15.19 kB / 1.273 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.136, allocations: 5.844 kB / 1.274 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00187/1.138, allocations: 0.4927 MB / 1.274 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.138, allocations: 4 kB / 1.274 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/1.138, allocations: 46.69 kB / 1.274 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/1.139, allocations: 79.88 kB / 1.274 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.14, allocations: 1.495 MB / 1.276 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/1.141, allocations: 48.42 kB / 1.276 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/1.141, allocations: 15.25 kB / 1.276 GB, free: 7.035 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000356/1.142, allocations: 239.1 kB / 1.276 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/1.142, allocations: 27.7 kB / 1.276 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/1.143, allocations: 490 kB / 1.276 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.144, allocations: 7.984 kB / 1.276 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.144, allocations: 7.062 kB / 1.276 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.144, allocations: 0 / 1.276 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/1.145, allocations: 0.5639 MB / 1.277 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.145, allocations: 0 / 1.277 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/1.145, allocations: 82.86 kB / 1.277 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/1.146, allocations: 44 kB / 1.277 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/1.146, allocations: 7.312 kB / 1.277 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/1.147, allocations: 1.411 MB / 1.278 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.147, allocations: 4.031 kB / 1.278 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/1.149, allocations: 0.5618 MB / 1.279 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/1.149, allocations: 138.3 kB / 1.279 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/1.149, allocations: 7.375 kB / 1.279 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/1.15, allocations: 40.42 kB / 1.279 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/1.15, allocations: 33.27 kB / 1.279 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/1.15, allocations: 19.08 kB / 1.279 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002556/1.151, allocations: 171.8 kB / 1.279 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/1.151, allocations: 0 / 1.279 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009136/1.151, allocations: 145.5 kB / 1.28 GB, free: 3.336 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002538/1.152, allocations: 129.6 kB / 1.28 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003064/1.155, allocations: 1.018 MB / 1.281 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.155, allocations: 0 / 1.281 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.156, allocations: 336.8 kB / 1.281 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/1.157, allocations: 47.06 kB / 1.281 GB, free: 2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/1.159, allocations: 0.7445 MB / 1.282 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/1.159, allocations: 0.7903 MB / 1.282 GB, free: 492 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005829/1.16, allocations: 100.9 kB / 1.283 GB, free: 396 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/1.16, allocations: 30.67 kB / 1.283 GB, free: 368 kB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/1.16, allocations: 0 / 1.283 GB, free: 368 kB / 0.6198 GB Notification: Performance of Templates: time 0.01341/1.173, allocations: 4.041 MB / 1.287 GB, free: 12.5 MB / 0.6355 GB