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.008852/0.008855, allocations: 110.2 kB / 15.05 MB, free: 6.031 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.001105/0.001105, allocations: 188.2 kB / 15.95 MB, free: 5.965 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.237/2.237, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.343/2.343, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008182/0.0008184, allocations: 15.98 kB / 0.587 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5449/0.5458, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.7519, allocations: 146.4 MB / 0.8263 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.7522, allocations: 91.94 kB / 0.8264 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06353/0.8158, allocations: 17 MB / 0.843 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.316e-06/0.8158, allocations: 0 / 0.843 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.403e-05/0.8159, allocations: 4 kB / 0.843 GB, free: 10.61 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001314/0.8172, allocations: 0.6489 MB / 0.8436 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8172, allocations: 11.97 kB / 0.8436 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.8182, allocations: 95.61 kB / 0.8437 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.8187, allocations: 278.2 kB / 0.844 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.8188, allocations: 12.44 kB / 0.844 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.8188, allocations: 27.92 kB / 0.844 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.8199, allocations: 426.6 kB / 0.8444 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.8199, allocations: 3.938 kB / 0.8444 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.82, allocations: 11.98 kB / 0.8445 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.82, allocations: 24.36 kB / 0.8445 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.8212, allocations: 408.8 kB / 0.8449 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.8239, allocations: 1.658 MB / 0.8465 GB, free: 6.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.8254, allocations: 488 kB / 0.847 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.8256, allocations: 93.05 kB / 0.847 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007071/0.8264, allocations: 278.5 kB / 0.8473 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=27): time 3.187e-06/0.8264, allocations: 0 / 0.8473 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.002425/0.8288, allocations: 0.7791 MB / 0.8481 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.8289, allocations: 85.05 kB / 0.8481 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.8292, allocations: 200.1 kB / 0.8483 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.8292, allocations: 33.7 kB / 0.8484 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.8294, allocations: 164.3 kB / 0.8485 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.8295, allocations: 90.75 kB / 0.8486 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.8296, allocations: 4 kB / 0.8486 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8297, allocations: 334.8 kB / 0.8489 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/0.8303, allocations: 180.2 kB / 0.8491 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/0.8309, allocations: 253.3 kB / 0.8494 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.8316, allocations: 239.2 kB / 0.8496 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.289e-06/0.8316, allocations: 4 kB / 0.8496 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001606/0.8332, allocations: 0.5668 MB / 0.8501 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004887/0.8337, allocations: 0.8994 MB / 0.851 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.8337, allocations: 4 kB / 0.851 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002846/0.834, allocations: 44.81 kB / 0.8511 GB, free: 1.836 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.8346, allocations: 91.88 kB / 0.8511 GB, free: 1.746 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.8365, allocations: 1.52 MB / 0.8526 GB, free: 88 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.837, allocations: 55.8 kB / 0.8527 GB, free: 32 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.8371, allocations: 8 kB / 0.8527 GB, free: 24 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.8371, allocations: 4 kB / 0.8527 GB, free: 20 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001482/0.8386, allocations: 0.5022 MB / 0.8532 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.659e-06/0.8386, allocations: 0 / 0.8532 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.8388, allocations: 48.92 kB / 0.8532 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.8393, allocations: 91.86 kB / 0.8533 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.841, allocations: 1.489 MB / 0.8548 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.8415, allocations: 55.8 kB / 0.8548 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.8416, allocations: 8 kB / 0.8548 GB, free: 13.67 MB / 0.6823 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.0003315/0.8419, allocations: 249 kB / 0.8551 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.842, allocations: 23.84 kB / 0.8551 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.8434, allocations: 0.49 MB / 0.8556 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.973e-06/0.8434, allocations: 4 kB / 0.8556 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.574e-06/0.8434, allocations: 0 / 0.8556 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.093e-06/0.8435, allocations: 0 / 0.8556 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/0.8444, allocations: 0.5662 MB / 0.8561 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.352e-06/0.8444, allocations: 0 / 0.8561 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.8449, allocations: 87.95 kB / 0.8562 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.8451, allocations: 32.83 kB / 0.8562 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.8452, allocations: 8 kB / 0.8563 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.8468, allocations: 1.428 MB / 0.8577 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.882e-06/0.8468, allocations: 0 / 0.8577 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.8482, allocations: 0.5962 MB / 0.8582 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.8485, allocations: 140.5 kB / 0.8584 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.8486, allocations: 4 kB / 0.8584 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.849, allocations: 43.95 kB / 0.8584 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.8491, allocations: 31.95 kB / 0.8584 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.8492, allocations: 11.95 kB / 0.8585 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002386/0.8494, allocations: 176.5 kB / 0.8586 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.68e-07/0.8494, allocations: 0 / 0.8586 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000843/0.8503, allocations: 143.9 kB / 0.8588 GB, free: 9.383 MB / 0.6823 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.0002246/0.8505, allocations: 131.1 kB / 0.8589 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.853, allocations: 1.012 MB / 0.8599 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.162e-06/0.853, allocations: 0 / 0.8599 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008355/0.8539, allocations: 338.5 kB / 0.8602 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.8543, allocations: 49.22 kB / 0.8602 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.8561, allocations: 0.747 MB / 0.861 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.8566, allocations: 0.7995 MB / 0.8618 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004228/0.857, allocations: 94.2 kB / 0.8618 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.8572, allocations: 27.42 kB / 0.8619 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/0.8572, allocations: 0 / 0.8619 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of Templates: time 0.01144/0.8686, allocations: 4.017 MB / 0.8658 GB, free: 2.062 MB / 0.6823 GB