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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01077/0.01077, allocations: 107.8 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001214/0.001214, allocations: 180.8 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.016/2.016, allocations: 194.5 MB / 211.2 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.286/2.286, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004803, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6945/0.695, allocations: 98.71 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004766/0.6999, allocations: 2.757 MB / 0.6861 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003894/0.7038, allocations: 1.708 MB / 0.6878 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.7041, allocations: 6.812 kB / 0.6878 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.7044, allocations: 44.36 kB / 0.6878 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006689/0.7051, allocations: 149 kB / 0.688 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.7061, allocations: 220.5 kB / 0.6882 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005916/0.7067, allocations: 242.9 kB / 0.6884 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.7078, allocations: 432.5 kB / 0.6888 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.7081, allocations: 119.8 kB / 0.689 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.7086, allocations: 132.8 kB / 0.6891 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.7086, allocations: 17.41 kB / 0.6891 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.7092, allocations: 133.6 kB / 0.6892 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.7093, allocations: 93.53 kB / 0.6893 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.877e-05/0.7094, allocations: 75.27 kB / 0.6894 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.7101, allocations: 349.7 kB / 0.6897 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.7102, allocations: 1.031 kB / 0.6897 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7102, allocations: 0 / 0.6897 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.7102, allocations: 4 kB / 0.6897 GB, free: 12.84 MB / 0.5261 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.001357/0.7116, allocations: 0.5362 MB / 0.6903 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.7116, allocations: 8.656 kB / 0.6903 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.7117, allocations: 68.66 kB / 0.6903 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.7129, allocations: 99.8 kB / 0.6904 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.7134, allocations: 268.9 kB / 0.6907 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.7134, allocations: 17.44 kB / 0.6907 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.7136, allocations: 39.08 kB / 0.6907 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.7147, allocations: 436.4 kB / 0.6911 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.7147, allocations: 5.469 kB / 0.6912 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.7148, allocations: 19.09 kB / 0.6912 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002915/0.7151, allocations: 40.33 kB / 0.6912 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/0.716, allocations: 347.5 kB / 0.6915 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.7196, allocations: 2.202 MB / 0.6937 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.7204, allocations: 271.9 kB / 0.694 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.7204, allocations: 2.469 kB / 0.694 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.7205, allocations: 40.42 kB / 0.694 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 2.855e-06/0.7205, allocations: 0 / 0.694 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.002992/0.7235, allocations: 1.048 MB / 0.695 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.7236, allocations: 53.62 kB / 0.6951 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.724, allocations: 246.8 kB / 0.6953 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.7241, allocations: 30.58 kB / 0.6953 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.7242, allocations: 186.5 kB / 0.6955 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.173e-05/0.7243, allocations: 86.81 kB / 0.6956 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.7243, allocations: 9.25 kB / 0.6956 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.7244, allocations: 340.5 kB / 0.6959 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.7248, allocations: 149.2 kB / 0.6961 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.7253, allocations: 231.8 kB / 0.6963 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.7258, allocations: 185.4 kB / 0.6965 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.7258, allocations: 0.9375 kB / 0.6965 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001921/0.7277, allocations: 0.5899 MB / 0.697 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.7278, allocations: 6.938 kB / 0.697 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7278, allocations: 7.094 kB / 0.6971 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.729, allocations: 187.6 kB / 0.6972 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.7296, allocations: 64.28 kB / 0.6973 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/0.7339, allocations: 2.357 MB / 0.6996 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.7345, allocations: 21.17 kB / 0.6996 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.7346, allocations: 16.17 kB / 0.6996 GB, free: 5.934 MB / 0.5261 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 () * Number of clocked 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.00026/0.7348, allocations: 167 kB / 0.6998 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.592e-05/0.7349, allocations: 22.72 kB / 0.6998 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.7362, allocations: 363.2 kB / 0.7002 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.7362, allocations: 2.781 kB / 0.7002 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.7362, allocations: 0 / 0.7002 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7362, allocations: 0 / 0.7002 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.7384, allocations: 0.8108 MB / 0.701 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7384, allocations: 1.375 kB / 0.701 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000982/0.7394, allocations: 72.91 kB / 0.701 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.7394, allocations: 2 kB / 0.701 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.7395, allocations: 12.38 kB / 0.701 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.7395, allocations: 1.656 kB / 0.701 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7395, allocations: 3.984 kB / 0.701 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.7411, allocations: 0.6372 MB / 0.7017 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.7414, allocations: 128.3 kB / 0.7018 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.7415, allocations: 10.95 kB / 0.7018 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.742, allocations: 13.39 kB / 0.7018 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.7421, allocations: 18.7 kB / 0.7018 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.7421, allocations: 10.25 kB / 0.7018 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000325/0.7425, allocations: 173.5 kB / 0.702 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7425, allocations: 1.156 kB / 0.702 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009987/0.7435, allocations: 88.91 kB / 0.7021 GB, free: 4.246 MB / 0.5261 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 () * Number of clocked 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.001951/0.7455, allocations: 1.322 MB / 0.7034 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.7473, allocations: 0.5386 MB / 0.7039 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7474, allocations: 0 / 0.7039 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.7478, allocations: 147.2 kB / 0.704 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.7486, allocations: 53.12 kB / 0.7041 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008048/0.7566, allocations: 3.758 MB / 0.7078 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007341/0.7574, allocations: 0.8008 MB / 0.7086 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006337/0.7581, allocations: 78.95 kB / 0.7086 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.7585, allocations: 85.31 kB / 0.7087 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/0.7585, allocations: 3.938 kB / 0.7087 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06283/0.8213, allocations: 6.261 MB / 0.7148 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.8216, allocations: 211.2 kB / 0.715 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.329, allocations: 0 / 0.715 GB, free: 11.58 MB / 0.5417 GB