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.01534/0.01534, allocations: 107.2 kB / 15.06 MB, free: 6.039 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.001828/0.001828, allocations: 181.5 kB / 15.95 MB, free: 5.957 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.013/2.013, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.427/2.427, allocations: 236.2 MB / 492.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008211/0.000821, allocations: 16 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5561/0.557, allocations: 98.71 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003602/0.5607, allocations: 2.555 MB / 0.6858 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.5637, allocations: 1.612 MB / 0.6874 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.564, allocations: 2.156 kB / 0.6874 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.5642, allocations: 33.42 kB / 0.6874 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.5648, allocations: 139.5 kB / 0.6876 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.5656, allocations: 180.1 kB / 0.6878 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004263/0.566, allocations: 224.8 kB / 0.688 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.567, allocations: 387 kB / 0.6883 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.5673, allocations: 116.6 kB / 0.6884 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.5676, allocations: 125.4 kB / 0.6886 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.5677, allocations: 12.94 kB / 0.6886 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.5682, allocations: 139.6 kB / 0.6887 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.5683, allocations: 78.47 kB / 0.6888 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.662e-05/0.5684, allocations: 72.58 kB / 0.6889 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.569, allocations: 341 kB / 0.6892 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.215e-06/0.569, allocations: 0 / 0.6892 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.478e-06/0.569, allocations: 2.172 kB / 0.6892 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.73e-06/0.5691, allocations: 0 / 0.6892 GB, free: 13.06 MB / 0.5261 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.001228/0.5703, allocations: 0.6005 MB / 0.6898 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5704, allocations: 9.25 kB / 0.6898 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5714, allocations: 110.4 kB / 0.6899 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.5718, allocations: 278.4 kB / 0.6901 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.5719, allocations: 18.72 kB / 0.6902 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.5719, allocations: 21.06 kB / 0.6902 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.573, allocations: 427.8 kB / 0.6906 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.573, allocations: 7.875 kB / 0.6906 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.5731, allocations: 7.766 kB / 0.6906 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/0.5732, allocations: 29.53 kB / 0.6906 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.5744, allocations: 409.8 kB / 0.691 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.5767, allocations: 1.614 MB / 0.6926 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.5783, allocations: 480.7 kB / 0.6931 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.5785, allocations: 95.47 kB / 0.6932 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/0.5792, allocations: 276 kB / 0.6934 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.683e-06/0.5793, allocations: 4 kB / 0.6934 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.00248/0.5817, allocations: 0.7731 MB / 0.6942 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.5818, allocations: 82.78 kB / 0.6943 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.5821, allocations: 228.2 kB / 0.6945 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.5822, allocations: 32.89 kB / 0.6945 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5823, allocations: 159.5 kB / 0.6947 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.692e-05/0.5824, allocations: 98.39 kB / 0.6948 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.5824, allocations: 10.16 kB / 0.6948 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.5825, allocations: 335.7 kB / 0.6951 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.5831, allocations: 178.5 kB / 0.6953 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.5838, allocations: 262.3 kB / 0.6955 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.5845, allocations: 231.8 kB / 0.6957 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.517e-06/0.5845, allocations: 0 / 0.6957 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001715/0.5863, allocations: 0.5574 MB / 0.6963 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.5865, allocations: 0.9091 MB / 0.6972 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5865, allocations: 2.859 kB / 0.6972 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.5868, allocations: 39.91 kB / 0.6972 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.5874, allocations: 94.78 kB / 0.6973 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.589, allocations: 1.516 MB / 0.6988 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.5896, allocations: 58.75 kB / 0.6988 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.5897, allocations: 11.61 kB / 0.6988 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5897, allocations: 4.719 kB / 0.6988 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001484/0.5912, allocations: 0.4942 MB / 0.6993 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.66e-06/0.5912, allocations: 2.75 kB / 0.6993 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/0.5914, allocations: 43.38 kB / 0.6994 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.5919, allocations: 90.59 kB / 0.6995 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.5933, allocations: 1.497 MB / 0.7009 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.5938, allocations: 57.11 kB / 0.701 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.5939, allocations: 10.98 kB / 0.701 GB, free: 4.473 MB / 0.5261 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.0003018/0.5942, allocations: 247.9 kB / 0.7012 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.5943, allocations: 24.09 kB / 0.7012 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.5957, allocations: 0.4933 MB / 0.7017 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.838e-06/0.5958, allocations: 3.812 kB / 0.7017 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.395e-06/0.5958, allocations: 5.266 kB / 0.7017 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.543e-06/0.5958, allocations: 7.984 kB / 0.7017 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008061/0.5966, allocations: 0.5528 MB / 0.7023 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.772e-06/0.5966, allocations: 5.25 kB / 0.7023 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.5971, allocations: 83.17 kB / 0.7024 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.5974, allocations: 42.81 kB / 0.7024 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.5974, allocations: 5.562 kB / 0.7024 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.5986, allocations: 1.424 MB / 0.7038 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.196e-06/0.5986, allocations: 1.281 kB / 0.7038 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.6, allocations: 0.5973 MB / 0.7044 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.6003, allocations: 140 kB / 0.7045 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.6003, allocations: 7.5 kB / 0.7045 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.6008, allocations: 42.92 kB / 0.7046 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.6009, allocations: 33.72 kB / 0.7046 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.601, allocations: 14.86 kB / 0.7046 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002042/0.6012, allocations: 167.2 kB / 0.7048 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.039e-06/0.6012, allocations: 0 / 0.7048 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009147/0.6021, allocations: 133.4 kB / 0.7049 GB, free: 1.293 MB / 0.5261 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.000197/0.6024, allocations: 119.1 kB / 0.705 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002326/0.6047, allocations: 1.013 MB / 0.706 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.069e-06/0.6047, allocations: 1.344 kB / 0.706 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008246/0.6056, allocations: 339.4 kB / 0.7063 GB, free: 316 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.6061, allocations: 39.31 kB / 0.7064 GB, free: 296 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.6077, allocations: 0.7362 MB / 0.7071 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.6082, allocations: 0.7967 MB / 0.7079 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004589/0.6087, allocations: 91.08 kB / 0.7079 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.6089, allocations: 29.86 kB / 0.708 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of SimCode: time 1.533e-06/0.6089, allocations: 7.938 kB / 0.708 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.01205/0.6209, allocations: 4.012 MB / 0.7119 GB, free: 12.96 MB / 0.5417 GB