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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.279/4.279, allocations: 433.2 MB / 440.8 MB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.822e-05/2.831e-05, allocations: 3.625 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2127, allocations: 98.72 MB / 0.6289 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2645/0.4773, allocations: 145.6 MB / 0.7711 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/0.4777, allocations: 87.94 kB / 0.7712 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7177/1.195, allocations: 16.83 MB / 0.7876 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/1.195, allocations: 0 / 0.7876 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.991e-05/1.196, allocations: 9.75 kB / 0.7876 GB, free: 143.4 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001628/1.197, allocations: 0.616 MB / 0.7882 GB, free: 143 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.197, allocations: 9.562 kB / 0.7883 GB, free: 143 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/1.199, allocations: 101 kB / 0.7883 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/1.199, allocations: 274.1 kB / 0.7886 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/1.199, allocations: 6.469 kB / 0.7886 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/1.199, allocations: 16.62 kB / 0.7886 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006952/1.2, allocations: 239.8 kB / 0.7889 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/1.201, allocations: 355.3 kB / 0.7892 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/1.201, allocations: 0 / 0.7892 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/1.201, allocations: 1.125 kB / 0.7892 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-05/1.201, allocations: 28.25 kB / 0.7892 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/1.204, allocations: 1.59 MB / 0.7908 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/1.205, allocations: 390.5 kB / 0.7912 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/1.205, allocations: 151.2 kB / 0.7913 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/1.206, allocations: 101.7 kB / 0.7914 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/1.206, allocations: 216.7 kB / 0.7916 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.246e-06/1.206, allocations: 0 / 0.7916 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001463/1.208, allocations: 428 kB / 0.792 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.208, allocations: 80.98 kB / 0.7921 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/1.208, allocations: 186.1 kB / 0.7923 GB, free: 141 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/1.208, allocations: 30.86 kB / 0.7923 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/1.208, allocations: 164.7 kB / 0.7924 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/1.208, allocations: 86.7 kB / 0.7925 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/1.208, allocations: 0 / 0.7925 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/1.208, allocations: 335 kB / 0.7929 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/1.209, allocations: 127.8 kB / 0.793 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/1.209, allocations: 195.1 kB / 0.7932 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/1.21, allocations: 165.9 kB / 0.7933 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.21, allocations: 1.531 kB / 0.7933 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00137/1.211, allocations: 426.1 kB / 0.7937 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002422/1.211, allocations: 0.9003 MB / 0.7946 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.211, allocations: 3.656 kB / 0.7946 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/1.212, allocations: 36.69 kB / 0.7946 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/1.212, allocations: 97.67 kB / 0.7947 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/1.214, allocations: 1.436 MB / 0.7961 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/1.215, allocations: 48.92 kB / 0.7962 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/1.215, allocations: 16.64 kB / 0.7962 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.215, allocations: 4.969 kB / 0.7962 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/1.216, allocations: 369 kB / 0.7966 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.216, allocations: 3.156 kB / 0.7966 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/1.216, allocations: 37 kB / 0.7966 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/1.217, allocations: 85.84 kB / 0.7967 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/1.219, allocations: 1.426 MB / 0.7981 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/1.219, allocations: 53.11 kB / 0.7981 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/1.219, allocations: 16.19 kB / 0.7981 GB, free: 136.8 MB / 0.6511 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 () * 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.0001988/1.22, allocations: 118.3 kB / 0.7982 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001099/1.221, allocations: 352 kB / 0.7986 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/1.221, allocations: 27.33 kB / 0.7986 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/1.222, allocations: 392 kB / 0.799 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/1.222, allocations: 3.781 kB / 0.799 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.222, allocations: 5.172 kB / 0.799 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.222, allocations: 1.062 kB / 0.799 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008952/1.223, allocations: 0.5093 MB / 0.7995 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.223, allocations: 4.031 kB / 0.7995 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007367/1.224, allocations: 80.97 kB / 0.7996 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/1.224, allocations: 36.39 kB / 0.7996 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/1.224, allocations: 9.062 kB / 0.7996 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/1.225, allocations: 1.349 MB / 0.8009 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.225, allocations: 4.422 kB / 0.8009 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/1.226, allocations: 0.4922 MB / 0.8014 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/1.227, allocations: 133.8 kB / 0.8015 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/1.227, allocations: 1.406 kB / 0.8015 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/1.227, allocations: 46.88 kB / 0.8016 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.227, allocations: 30.23 kB / 0.8016 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/1.228, allocations: 13.88 kB / 0.8016 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002102/1.228, allocations: 159.7 kB / 0.8018 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.228, allocations: 0 / 0.8018 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009773/1.229, allocations: 126.6 kB / 0.8019 GB, free: 134.5 MB / 0.6511 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) * 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.001461/1.23, allocations: 1.256 MB / 0.8031 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001833/1.232, allocations: 0.8362 MB / 0.804 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.232, allocations: 4.312 kB / 0.804 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006454/1.233, allocations: 276 kB / 0.8042 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/1.233, allocations: 35.5 kB / 0.8043 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/1.235, allocations: 0.5259 MB / 0.8048 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/1.236, allocations: 0.7923 MB / 0.8055 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006255/1.236, allocations: 108.8 kB / 0.8056 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/1.237, allocations: 85.16 kB / 0.8057 GB, free: 132 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.237, allocations: 4 kB / 0.8057 GB, free: 132 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/1.286, allocations: 6.282 MB / 0.8119 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/1.286, allocations: 166.3 kB / 0.812 GB, free: 130 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/3.886, allocations: 8 kB / 0.812 GB, free: 130 MB / 0.6511 GB