Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.502/4.502, allocations: 433.2 MB / 440.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.974e-05, allocations: 4.672 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2251, allocations: 98.73 MB / 0.6289 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.299/0.5241, allocations: 147 MB / 0.7725 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/0.5246, allocations: 99.92 kB / 0.7726 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5978/1.122, allocations: 17.47 MB / 0.7896 GB, free: 144 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/1.122, allocations: 0 / 0.7896 GB, free: 144 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.37e-05/1.123, allocations: 9.781 kB / 0.7897 GB, free: 144 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.001881/1.124, allocations: 0.6225 MB / 0.7903 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/1.124, allocations: 9.5 kB / 0.7903 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/1.126, allocations: 97.39 kB / 0.7904 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/1.127, allocations: 282.5 kB / 0.7906 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/1.127, allocations: 6.406 kB / 0.7906 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/1.127, allocations: 12.41 kB / 0.7906 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009435/1.128, allocations: 247.8 kB / 0.7909 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/1.129, allocations: 333.6 kB / 0.7912 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/1.129, allocations: 9.312 kB / 0.7912 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/1.129, allocations: 0 / 0.7912 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.239e-05/1.129, allocations: 24.33 kB / 0.7912 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/1.133, allocations: 1.597 MB / 0.7928 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/1.135, allocations: 383.5 kB / 0.7932 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/1.135, allocations: 149 kB / 0.7933 GB, free: 142 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/1.136, allocations: 100.2 kB / 0.7934 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006893/1.136, allocations: 217.4 kB / 0.7936 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.867e-06/1.136, allocations: 3.938 kB / 0.7936 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001947/1.138, allocations: 421.3 kB / 0.794 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/1.138, allocations: 82.14 kB / 0.7941 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/1.139, allocations: 184.3 kB / 0.7943 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/1.139, allocations: 27.27 kB / 0.7943 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/1.139, allocations: 173.7 kB / 0.7945 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/1.139, allocations: 86.28 kB / 0.7945 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/1.139, allocations: 0 / 0.7945 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.139, allocations: 333.6 kB / 0.7949 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/1.14, allocations: 128.4 kB / 0.795 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/1.14, allocations: 198.2 kB / 0.7952 GB, free: 141 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/1.142, allocations: 162.6 kB / 0.7953 GB, free: 141 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/1.142, allocations: 0 / 0.7953 GB, free: 141 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001736/1.143, allocations: 426.9 kB / 0.7957 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002644/1.144, allocations: 0.9047 MB / 0.7966 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.144, allocations: 10.05 kB / 0.7966 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003887/1.144, allocations: 39.69 kB / 0.7967 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.145, allocations: 95.67 kB / 0.7968 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/1.147, allocations: 1.434 MB / 0.7982 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/1.148, allocations: 46.17 kB / 0.7982 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/1.148, allocations: 14.09 kB / 0.7982 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.148, allocations: 4.156 kB / 0.7982 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001517/1.15, allocations: 371.9 kB / 0.7986 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.15, allocations: 2.125 kB / 0.7986 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/1.15, allocations: 39.34 kB / 0.7986 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/1.151, allocations: 88.5 kB / 0.7987 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/1.153, allocations: 1.43 MB / 0.8001 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/1.154, allocations: 48.44 kB / 0.8001 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/1.154, allocations: 13.41 kB / 0.8001 GB, free: 137.3 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.0001957/1.154, allocations: 113.5 kB / 0.8003 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001393/1.155, allocations: 360.1 kB / 0.8006 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/1.155, allocations: 24.53 kB / 0.8006 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/1.157, allocations: 383.4 kB / 0.801 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.157, allocations: 3.719 kB / 0.801 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.157, allocations: 5.391 kB / 0.801 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.157, allocations: 5.188 kB / 0.801 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.158, allocations: 0.5119 MB / 0.8015 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.158, allocations: 1.25 kB / 0.8015 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009296/1.159, allocations: 82.11 kB / 0.8016 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/1.159, allocations: 37.62 kB / 0.8016 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/1.159, allocations: 6.266 kB / 0.8016 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/1.161, allocations: 1.354 MB / 0.8029 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.161, allocations: 1.469 kB / 0.8029 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/1.162, allocations: 0.4915 MB / 0.8034 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/1.162, allocations: 136.2 kB / 0.8036 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/1.162, allocations: 1 kB / 0.8036 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/1.163, allocations: 35.47 kB / 0.8036 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.163, allocations: 36.06 kB / 0.8036 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/1.163, allocations: 19.16 kB / 0.8036 GB, free: 135 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000208/1.163, allocations: 155.8 kB / 0.8038 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.163, allocations: 3.938 kB / 0.8038 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009768/1.164, allocations: 124 kB / 0.8039 GB, free: 134.9 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.001418/1.166, allocations: 1.261 MB / 0.8051 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.167, allocations: 0.8358 MB / 0.806 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.167, allocations: 0 / 0.806 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000571/1.168, allocations: 274.3 kB / 0.8062 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/1.169, allocations: 41.28 kB / 0.8063 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/1.17, allocations: 0.5206 MB / 0.8068 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.171, allocations: 0.7985 MB / 0.8076 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005688/1.171, allocations: 102.8 kB / 0.8077 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/1.171, allocations: 91.42 kB / 0.8077 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of SimCode: time 9.81e-07/1.171, allocations: 0 / 0.8077 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/1.222, allocations: 6.298 MB / 0.8139 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/1.222, allocations: 176.2 kB / 0.8141 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.918, allocations: 0 / 0.8141 GB, free: 128.7 MB / 0.6511 GB