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.Loads.Examples.DynamicLoads.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.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.937/3.937, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.134e-05, allocations: 4.188 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8534/1.068, allocations: 154.8 MB / 0.7859 GB, free: 58.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003821/1.069, allocations: 95.14 kB / 0.786 GB, free: 58.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07952/1.148, allocations: 19.19 MB / 0.8047 GB, free: 55.87 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/1.149, allocations: 1.312 kB / 0.8047 GB, free: 55.87 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.465e-05/1.149, allocations: 17.22 kB / 0.8047 GB, free: 55.86 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001257/1.15, allocations: 0.5528 MB / 0.8053 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.15, allocations: 7.844 kB / 0.8053 GB, free: 55.41 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.868e-05/1.15, allocations: 61.42 kB / 0.8053 GB, free: 55.37 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/1.151, allocations: 106.2 kB / 0.8054 GB, free: 55.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/1.152, allocations: 292 kB / 0.8057 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/1.152, allocations: 16.69 kB / 0.8057 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.081e-05/1.152, allocations: 33.7 kB / 0.8058 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/1.153, allocations: 422.1 kB / 0.8062 GB, free: 55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.153, allocations: 11.17 kB / 0.8062 GB, free: 54.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/1.153, allocations: 3.625 kB / 0.8062 GB, free: 54.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/1.153, allocations: 26.75 kB / 0.8062 GB, free: 54.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007437/1.154, allocations: 343.4 kB / 0.8065 GB, free: 54.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/1.157, allocations: 2.205 MB / 0.8087 GB, free: 53.37 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/1.158, allocations: 263.1 kB / 0.8089 GB, free: 53.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/1.158, allocations: 158.5 kB / 0.8091 GB, free: 53.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/1.158, allocations: 8.031 kB / 0.8091 GB, free: 53.33 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/1.158, allocations: 34.73 kB / 0.8091 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.036e-06/1.158, allocations: 0 / 0.8091 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.001796/1.16, allocations: 0.8111 MB / 0.8099 GB, free: 52.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/1.16, allocations: 57.36 kB / 0.81 GB, free: 52.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/1.161, allocations: 224 kB / 0.8102 GB, free: 52.81 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/1.161, allocations: 29.33 kB / 0.8102 GB, free: 52.78 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/1.161, allocations: 188 kB / 0.8104 GB, free: 52.64 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/1.161, allocations: 92.36 kB / 0.8105 GB, free: 52.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/1.161, allocations: 3.75 kB / 0.8105 GB, free: 52.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/1.161, allocations: 336.7 kB / 0.8108 GB, free: 52.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/1.161, allocations: 147.9 kB / 0.8109 GB, free: 52.26 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/1.162, allocations: 230.4 kB / 0.8112 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/1.162, allocations: 186.5 kB / 0.8113 GB, free: 52.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.162, allocations: 0 / 0.8113 GB, free: 52.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001574/1.164, allocations: 0.569 MB / 0.8119 GB, free: 52.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.164, allocations: 10.23 kB / 0.8119 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.164, allocations: 3.906 kB / 0.8119 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/1.165, allocations: 176.5 kB / 0.8121 GB, free: 52.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/1.165, allocations: 65.75 kB / 0.8121 GB, free: 52.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/1.169, allocations: 2.27 MB / 0.8144 GB, free: 50.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/1.17, allocations: 21.78 kB / 0.8144 GB, free: 50.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/1.17, allocations: 7.906 kB / 0.8144 GB, free: 50.75 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.17, allocations: 127.8 kB / 0.8145 GB, free: 50.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/1.17, allocations: 27.36 kB / 0.8145 GB, free: 50.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/1.171, allocations: 358 kB / 0.8149 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.171, allocations: 0 / 0.8149 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.171, allocations: 4.016 kB / 0.8149 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/1.171, allocations: 7.172 kB / 0.8149 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/1.172, allocations: 0.8078 MB / 0.8157 GB, free: 50.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.172, allocations: 0 / 0.8157 GB, free: 50.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007525/1.173, allocations: 72.86 kB / 0.8157 GB, free: 50.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.173, allocations: 4 kB / 0.8157 GB, free: 50.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/1.173, allocations: 7.312 kB / 0.8158 GB, free: 50.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/1.173, allocations: 3.969 kB / 0.8158 GB, free: 50.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.173, allocations: 3.938 kB / 0.8158 GB, free: 50.22 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/1.174, allocations: 0.6202 MB / 0.8164 GB, free: 50.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/1.175, allocations: 129 kB / 0.8165 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/1.175, allocations: 7.406 kB / 0.8165 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/1.175, allocations: 11.27 kB / 0.8165 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/1.175, allocations: 18.5 kB / 0.8165 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/1.175, allocations: 3.844 kB / 0.8165 GB, free: 49.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002241/1.175, allocations: 175.4 kB / 0.8167 GB, free: 49.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.175, allocations: 0 / 0.8167 GB, free: 49.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006166/1.176, allocations: 101 kB / 0.8168 GB, free: 49.83 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001427/1.177, allocations: 1.328 MB / 0.8181 GB, free: 48.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001301/1.179, allocations: 0.5189 MB / 0.8186 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.179, allocations: 0 / 0.8186 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/1.179, allocations: 148.9 kB / 0.8187 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/1.18, allocations: 49.59 kB / 0.8188 GB, free: 48.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/1.182, allocations: 0.8032 MB / 0.8196 GB, free: 48.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.183, allocations: 0.799 MB / 0.8204 GB, free: 47.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004169/1.183, allocations: 71.48 kB / 0.8204 GB, free: 47.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/1.183, allocations: 84.06 kB / 0.8205 GB, free: 47.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.183, allocations: 5.375 kB / 0.8205 GB, free: 47.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/1.212, allocations: 6.244 MB / 0.8266 GB, free: 47.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/1.212, allocations: 192.1 kB / 0.8268 GB, free: 46.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.74, allocations: 0 / 0.8268 GB, free: 46.92 MB / 0.6511 GB