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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01281/0.01282, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001176/0.001176, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 4.218/4.218, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.479/4.479, allocations: 472.3 MB / 0.9017 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005418, allocations: 11.94 kB / 1.008 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8154/0.816, allocations: 98.7 MB / 1.104 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004642/0.8207, allocations: 2.607 MB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00371/0.8245, allocations: 1.637 MB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003208/0.8249, allocations: 4.375 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.8251, allocations: 30.7 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0007266/0.8259, allocations: 145.2 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.8268, allocations: 188.4 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007798/0.8276, allocations: 418.6 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.8288, allocations: 384.3 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.8292, allocations: 126.1 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.8296, allocations: 169.5 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.8297, allocations: 13.06 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.8302, allocations: 140.7 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.8304, allocations: 77.42 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.8305, allocations: 78.55 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.8312, allocations: 348.4 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.8312, allocations: 1.031 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.053e-06/0.8312, allocations: 0 / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.8312, allocations: 0 / 1.11 GB, free: 208.8 MB / 0.7292 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.001677/0.8329, allocations: 0.5953 MB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.833, allocations: 9.156 kB / 1.111 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.8331, allocations: 65.25 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.8343, allocations: 109.2 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.8348, allocations: 279.8 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.8349, allocations: 13.09 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.277e-05/0.835, allocations: 18.09 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.8363, allocations: 429.1 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.8364, allocations: 1.094 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.8364, allocations: 6.844 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-05/0.8365, allocations: 32.86 kB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.8382, allocations: 411.5 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.8411, allocations: 1.621 MB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.8432, allocations: 482.8 kB / 1.114 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/0.844, allocations: 209.4 kB / 1.114 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.8442, allocations: 94.56 kB / 1.115 GB, free: 206 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009261/0.8452, allocations: 274.3 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 3.326e-06/0.8452, allocations: 1.469 kB / 1.115 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.003252/0.8485, allocations: 0.777 MB / 1.116 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.8486, allocations: 81.97 kB / 1.116 GB, free: 205.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.8489, allocations: 233.8 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.849, allocations: 31.08 kB / 1.116 GB, free: 205.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.8492, allocations: 167.5 kB / 1.116 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.8493, allocations: 94.61 kB / 1.116 GB, free: 205 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.8493, allocations: 5.594 kB / 1.116 GB, free: 205 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.8495, allocations: 336.7 kB / 1.116 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007704/0.8502, allocations: 180.6 kB / 1.117 GB, free: 204.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.8511, allocations: 263.2 kB / 1.117 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008309/0.8519, allocations: 233.1 kB / 1.117 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.8519, allocations: 0.7969 kB / 1.117 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002082/0.854, allocations: 0.5609 MB / 1.118 GB, free: 204.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.8542, allocations: 184.6 kB / 1.118 GB, free: 204 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.8542, allocations: 3.625 kB / 1.118 GB, free: 204 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/0.8546, allocations: 42.14 kB / 1.118 GB, free: 204 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007956/0.8554, allocations: 95.98 kB / 1.118 GB, free: 204 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.8574, allocations: 1.497 MB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007454/0.8582, allocations: 55.72 kB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.8583, allocations: 18.03 kB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8583, allocations: 6.594 kB / 1.119 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001993/0.8603, allocations: 0.498 MB / 1.12 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.8604, allocations: 5.547 kB / 1.12 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.8607, allocations: 50.16 kB / 1.12 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.8614, allocations: 82.88 kB / 1.12 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.863, allocations: 1.486 MB / 1.122 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.8637, allocations: 51.73 kB / 1.122 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.8637, allocations: 15.88 kB / 1.122 GB, free: 200.9 MB / 0.7292 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.0003386/0.8641, allocations: 237.7 kB / 1.122 GB, free: 200.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.8642, allocations: 29.73 kB / 1.122 GB, free: 200.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.8662, allocations: 493.5 kB / 1.122 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.8662, allocations: 6.406 kB / 1.122 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8663, allocations: 1.344 kB / 1.122 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.8663, allocations: 5.891 kB / 1.122 GB, free: 200.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.8674, allocations: 0.5666 MB / 1.123 GB, free: 200.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8674, allocations: 1.312 kB / 1.123 GB, free: 200.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.8681, allocations: 82.09 kB / 1.123 GB, free: 200.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.8684, allocations: 34.98 kB / 1.123 GB, free: 200.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.8684, allocations: 7.281 kB / 1.123 GB, free: 200.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.8699, allocations: 1.414 MB / 1.124 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.87, allocations: 1.031 kB / 1.124 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.8719, allocations: 0.5658 MB / 1.125 GB, free: 198.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.8722, allocations: 138.9 kB / 1.125 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.8723, allocations: 11.03 kB / 1.125 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.8729, allocations: 40.73 kB / 1.125 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.8731, allocations: 38.97 kB / 1.125 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.8732, allocations: 13.38 kB / 1.125 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002756/0.8735, allocations: 168.4 kB / 1.125 GB, free: 198.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8735, allocations: 0 / 1.125 GB, free: 198.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001004/0.8745, allocations: 128.8 kB / 1.125 GB, free: 198.2 MB / 0.7292 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.002222/0.8767, allocations: 1.121 MB / 1.127 GB, free: 197.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003315/0.8801, allocations: 1.012 MB / 1.128 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.8802, allocations: 4.719 kB / 1.128 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.8813, allocations: 334.8 kB / 1.128 GB, free: 196.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.8821, allocations: 48.06 kB / 1.128 GB, free: 196.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.888, allocations: 1.974 MB / 1.13 GB, free: 195.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.8884, allocations: 0.7999 MB / 1.131 GB, free: 194.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00066/0.8891, allocations: 97.08 kB / 1.131 GB, free: 194.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.8894, allocations: 83.36 kB / 1.131 GB, free: 194.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.533e-06/0.8894, allocations: 0 / 1.131 GB, free: 194.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.9294, allocations: 6.569 MB / 1.137 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.9298, allocations: 230.6 kB / 1.137 GB, free: 194.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/3.913, allocations: 0.8125 kB / 1.137 GB, free: 194.6 MB / 0.7292 GB