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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.091/4.091, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.057e-05, allocations: 3.469 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.227, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8626/1.09, allocations: 147.7 MB / 0.7789 GB, free: 56.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/1.09, allocations: 94.67 kB / 0.779 GB, free: 56.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07465/1.165, allocations: 17.54 MB / 0.7962 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/1.165, allocations: 1.375 kB / 0.7962 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.61e-05/1.165, allocations: 4.5 kB / 0.7962 GB, free: 54.67 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.001657/1.167, allocations: 0.6128 MB / 0.7968 GB, free: 54.19 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.167, allocations: 9.562 kB / 0.7968 GB, free: 54.19 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/1.167, allocations: 62.81 kB / 0.7968 GB, free: 54.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/1.168, allocations: 108.5 kB / 0.7969 GB, free: 54.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006158/1.169, allocations: 280.8 kB / 0.7972 GB, free: 53.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/1.169, allocations: 13.56 kB / 0.7972 GB, free: 53.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/1.169, allocations: 23.55 kB / 0.7973 GB, free: 53.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/1.17, allocations: 372.2 kB / 0.7976 GB, free: 53.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/1.17, allocations: 2.281 kB / 0.7976 GB, free: 53.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/1.17, allocations: 11.14 kB / 0.7976 GB, free: 53.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.914e-05/1.17, allocations: 23.31 kB / 0.7976 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008649/1.171, allocations: 318 kB / 0.7979 GB, free: 53.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/1.174, allocations: 1.654 MB / 0.7996 GB, free: 52.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/1.175, allocations: 396.2 kB / 0.7999 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/1.176, allocations: 160.5 kB / 0.8001 GB, free: 52.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/1.176, allocations: 91.11 kB / 0.8002 GB, free: 52.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/1.176, allocations: 225.2 kB / 0.8004 GB, free: 52.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.036e-06/1.177, allocations: 1.469 kB / 0.8004 GB, free: 52.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001482/1.178, allocations: 432.6 kB / 0.8008 GB, free: 52.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/1.178, allocations: 84.73 kB / 0.8009 GB, free: 52.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/1.178, allocations: 198.5 kB / 0.8011 GB, free: 52.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/1.178, allocations: 31.8 kB / 0.8011 GB, free: 52.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/1.179, allocations: 168.3 kB / 0.8013 GB, free: 51.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.894e-05/1.179, allocations: 91.73 kB / 0.8014 GB, free: 51.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/1.179, allocations: 9.969 kB / 0.8014 GB, free: 51.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.031e-05/1.179, allocations: 338.4 kB / 0.8017 GB, free: 51.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/1.179, allocations: 132.3 kB / 0.8018 GB, free: 51.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/1.18, allocations: 209.1 kB / 0.802 GB, free: 51.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/1.18, allocations: 180.6 kB / 0.8022 GB, free: 51.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.18, allocations: 4.969 kB / 0.8022 GB, free: 51.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001312/1.181, allocations: 473.7 kB / 0.8026 GB, free: 51.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/1.182, allocations: 0.8992 MB / 0.8035 GB, free: 50.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.182, allocations: 6.531 kB / 0.8035 GB, free: 50.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/1.182, allocations: 45.98 kB / 0.8036 GB, free: 50.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/1.183, allocations: 87.77 kB / 0.8037 GB, free: 50.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/1.184, allocations: 1.5 MB / 0.8051 GB, free: 49.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/1.185, allocations: 58.44 kB / 0.8052 GB, free: 49.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/1.185, allocations: 10.28 kB / 0.8052 GB, free: 49.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.185, allocations: 6.25 kB / 0.8052 GB, free: 49.09 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/1.186, allocations: 418.9 kB / 0.8056 GB, free: 49.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.186, allocations: 3.188 kB / 0.8056 GB, free: 49.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/1.187, allocations: 43.75 kB / 0.8056 GB, free: 49.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/1.187, allocations: 84.83 kB / 0.8057 GB, free: 49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/1.189, allocations: 1.486 MB / 0.8072 GB, free: 47.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/1.19, allocations: 47.41 kB / 0.8072 GB, free: 47.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/1.19, allocations: 16.33 kB / 0.8072 GB, free: 47.69 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.0001941/1.19, allocations: 132.9 kB / 0.8074 GB, free: 47.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/1.19, allocations: 23.91 kB / 0.8074 GB, free: 47.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/1.191, allocations: 394.9 kB / 0.8078 GB, free: 47.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.191, allocations: 2.875 kB / 0.8078 GB, free: 47.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.191, allocations: 5.438 kB / 0.8078 GB, free: 47.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.191, allocations: 4.578 kB / 0.8078 GB, free: 47.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009503/1.192, allocations: 0.5646 MB / 0.8083 GB, free: 47.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.192, allocations: 1.312 kB / 0.8083 GB, free: 47.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/1.193, allocations: 87.22 kB / 0.8084 GB, free: 47.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/1.193, allocations: 35.8 kB / 0.8084 GB, free: 47.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/1.193, allocations: 7.094 kB / 0.8084 GB, free: 47.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/1.194, allocations: 1.413 MB / 0.8098 GB, free: 45.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.195, allocations: 5.359 kB / 0.8098 GB, free: 45.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/1.196, allocations: 0.5008 MB / 0.8103 GB, free: 45.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/1.196, allocations: 137 kB / 0.8104 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/1.196, allocations: 7.594 kB / 0.8105 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/1.196, allocations: 44.56 kB / 0.8105 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.197, allocations: 37.5 kB / 0.8105 GB, free: 45.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/1.197, allocations: 10.47 kB / 0.8105 GB, free: 45.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002306/1.197, allocations: 165.1 kB / 0.8107 GB, free: 45.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.197, allocations: 0 / 0.8107 GB, free: 45.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009399/1.198, allocations: 146.4 kB / 0.8108 GB, free: 45.43 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.001429/1.199, allocations: 1.281 MB / 0.8121 GB, free: 44.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002026/1.201, allocations: 0.8704 MB / 0.8129 GB, free: 44.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/1.201, allocations: 1.125 kB / 0.8129 GB, free: 44.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006733/1.202, allocations: 293.1 kB / 0.8132 GB, free: 43.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/1.203, allocations: 41.72 kB / 0.8133 GB, free: 43.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/1.205, allocations: 0.5487 MB / 0.8138 GB, free: 43.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/1.205, allocations: 0.7915 MB / 0.8146 GB, free: 43.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006092/1.205, allocations: 101.6 kB / 0.8147 GB, free: 43.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/1.206, allocations: 86.88 kB / 0.8148 GB, free: 43.01 MB / 0.6511 GB Notification: Performance of SimCode: time 1.393e-06/1.206, allocations: 0 / 0.8148 GB, free: 43.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/1.24, allocations: 6.867 MB / 0.8215 GB, free: 42.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/1.24, allocations: 209.4 kB / 0.8217 GB, free: 42.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.91, allocations: 0 / 0.8217 GB, free: 42.21 MB / 0.6511 GB