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/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.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 4.1/4.1, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.838e-05, allocations: 2.938 kB / 0.5325 GB, free: 12.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2379, allocations: 98.74 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9739/1.212, allocations: 154.1 MB / 0.7794 GB, free: 61.32 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003816/1.212, allocations: 99.19 kB / 0.7795 GB, free: 61.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07691/1.289, allocations: 19.12 MB / 0.7982 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.923e-06/1.289, allocations: 0 / 0.7982 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.296e-05/1.289, allocations: 6.938 kB / 0.7982 GB, free: 59.6 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.001206/1.291, allocations: 0.56 MB / 0.7987 GB, free: 59.15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.291, allocations: 9.531 kB / 0.7987 GB, free: 59.15 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/1.292, allocations: 108.3 kB / 0.7988 GB, free: 59.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/1.293, allocations: 292.1 kB / 0.7991 GB, free: 58.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/1.293, allocations: 7.312 kB / 0.7991 GB, free: 58.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/1.293, allocations: 14.72 kB / 0.7991 GB, free: 58.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006302/1.293, allocations: 252.5 kB / 0.7994 GB, free: 58.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/1.294, allocations: 393.2 kB / 0.7997 GB, free: 58.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/1.294, allocations: 5.156 kB / 0.7998 GB, free: 58.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/1.294, allocations: 1.125 kB / 0.7998 GB, free: 58.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.325e-05/1.294, allocations: 24.08 kB / 0.7998 GB, free: 58.78 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/1.298, allocations: 2.144 MB / 0.8019 GB, free: 57.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/1.298, allocations: 257.3 kB / 0.8021 GB, free: 57.19 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/1.299, allocations: 151.1 kB / 0.8023 GB, free: 57.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/1.299, allocations: 2.781 kB / 0.8023 GB, free: 57.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.299, allocations: 35.97 kB / 0.8023 GB, free: 57.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 2.906e-06/1.299, allocations: 0 / 0.8023 GB, free: 57.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.001708/1.3, allocations: 0.777 MB / 0.8031 GB, free: 56.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/1.3, allocations: 61.61 kB / 0.8031 GB, free: 56.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/1.301, allocations: 202.2 kB / 0.8033 GB, free: 56.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/1.301, allocations: 25.7 kB / 0.8033 GB, free: 56.63 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/1.301, allocations: 190.7 kB / 0.8035 GB, free: 56.49 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/1.301, allocations: 86.72 kB / 0.8036 GB, free: 56.44 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/1.301, allocations: 0 / 0.8036 GB, free: 56.44 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/1.301, allocations: 338.5 kB / 0.8039 GB, free: 56.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/1.301, allocations: 132.5 kB / 0.804 GB, free: 56.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/1.302, allocations: 223.2 kB / 0.8043 GB, free: 56.03 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/1.302, allocations: 176.4 kB / 0.8044 GB, free: 56.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.302, allocations: 0 / 0.8044 GB, free: 56.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001587/1.304, allocations: 0.5402 MB / 0.805 GB, free: 55.94 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.304, allocations: 6.531 kB / 0.805 GB, free: 55.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.304, allocations: 3.375 kB / 0.805 GB, free: 55.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/1.305, allocations: 182.6 kB / 0.8051 GB, free: 55.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/1.306, allocations: 60.31 kB / 0.8052 GB, free: 55.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/1.309, allocations: 2.194 MB / 0.8073 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/1.309, allocations: 11.23 kB / 0.8073 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/1.31, allocations: 19.31 kB / 0.8074 GB, free: 54.67 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.000116/1.31, allocations: 108.1 kB / 0.8075 GB, free: 54.56 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006169/1.31, allocations: 299.1 kB / 0.8078 GB, free: 54.51 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/1.31, allocations: 25.23 kB / 0.8078 GB, free: 54.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007198/1.311, allocations: 331.2 kB / 0.8081 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.311, allocations: 5.844 kB / 0.8081 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/1.311, allocations: 0 / 0.8081 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.311, allocations: 4 kB / 0.8081 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/1.313, allocations: 0.7429 MB / 0.8088 GB, free: 54.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.313, allocations: 0 / 0.8088 GB, free: 54.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/1.313, allocations: 75.39 kB / 0.8089 GB, free: 54.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.313, allocations: 5.344 kB / 0.8089 GB, free: 54.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/1.313, allocations: 1.469 kB / 0.8089 GB, free: 54.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.313, allocations: 1.781 kB / 0.8089 GB, free: 54.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.313, allocations: 1.812 kB / 0.8089 GB, free: 54.15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000989/1.314, allocations: 0.6098 MB / 0.8095 GB, free: 53.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/1.315, allocations: 119.1 kB / 0.8096 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/1.315, allocations: 6.797 kB / 0.8096 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/1.315, allocations: 7.391 kB / 0.8096 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/1.315, allocations: 18.42 kB / 0.8096 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/1.315, allocations: 4.812 kB / 0.8097 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000178/1.315, allocations: 161.8 kB / 0.8098 GB, free: 53.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.315, allocations: 0 / 0.8098 GB, free: 53.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006304/1.316, allocations: 84.81 kB / 0.8099 GB, free: 53.76 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.001256/1.317, allocations: 1.307 MB / 0.8112 GB, free: 52.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001112/1.318, allocations: 0.4921 MB / 0.8116 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/1.318, allocations: 0 / 0.8116 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/1.319, allocations: 142.7 kB / 0.8118 GB, free: 52.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/1.319, allocations: 43.83 kB / 0.8118 GB, free: 52.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/1.322, allocations: 0.782 MB / 0.8126 GB, free: 52.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/1.322, allocations: 0.8073 MB / 0.8134 GB, free: 51.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003663/1.323, allocations: 68.42 kB / 0.8134 GB, free: 51.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/1.323, allocations: 80.34 kB / 0.8135 GB, free: 51.62 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/1.323, allocations: 0 / 0.8135 GB, free: 51.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04347/1.366, allocations: 5.632 MB / 0.819 GB, free: 51.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/1.367, allocations: 151.1 kB / 0.8192 GB, free: 51.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.975, allocations: 3.938 kB / 0.8192 GB, free: 51.08 MB / 0.6511 GB