Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01005/0.01005, allocations: 88.59 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001187/0.001187, allocations: 174.1 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.016/2.016, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.265/2.265, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006262/0.0006263, allocations: 11.03 kB / 0.6243 GB, free: 28.43 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2491, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005148/0.2543, allocations: 2.777 MB / 0.7308 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004238/0.2586, allocations: 1.716 MB / 0.7325 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.2589, allocations: 7.938 kB / 0.7325 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.2591, allocations: 35.77 kB / 0.7325 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006211/0.2597, allocations: 147.5 kB / 0.7326 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009357/0.2607, allocations: 227.4 kB / 0.7329 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.2612, allocations: 243.4 kB / 0.7331 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.2623, allocations: 437.3 kB / 0.7335 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.2626, allocations: 111.6 kB / 0.7336 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.263, allocations: 135.5 kB / 0.7337 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.2631, allocations: 12 kB / 0.7338 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.2635, allocations: 127.8 kB / 0.7339 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2637, allocations: 103.7 kB / 0.734 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.565e-05/0.2638, allocations: 73.58 kB / 0.734 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000632/0.2644, allocations: 359.4 kB / 0.7344 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2645, allocations: 0 / 0.7344 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2645, allocations: 3.938 kB / 0.7344 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2645, allocations: 0 / 0.7344 GB, free: 3.602 MB / 0.5573 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.00133/0.2658, allocations: 0.5262 MB / 0.7349 GB, free: 3.027 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2659, allocations: 8.031 kB / 0.7349 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.266, allocations: 74.47 kB / 0.735 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.2672, allocations: 111.5 kB / 0.7351 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.2677, allocations: 264.2 kB / 0.7353 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.2677, allocations: 16.55 kB / 0.7354 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.2679, allocations: 35.89 kB / 0.7354 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000989/0.2689, allocations: 445.1 kB / 0.7358 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.269, allocations: 3.984 kB / 0.7358 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.269, allocations: 11.95 kB / 0.7358 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/0.2693, allocations: 40.53 kB / 0.7359 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/0.2702, allocations: 345.9 kB / 0.7362 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003737/0.274, allocations: 2.203 MB / 0.7384 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.2747, allocations: 263 kB / 0.7386 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.2748, allocations: 4.188 kB / 0.7386 GB, free: 14.94 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.2748, allocations: 42.7 kB / 0.7387 GB, free: 14.89 MB / 0.573 GB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.2748, allocations: 3.938 kB / 0.7387 GB, free: 14.89 MB / 0.573 GB Notification: Performance of matching and sorting (n=23): time 0.002818/0.2777, allocations: 1.048 MB / 0.7397 GB, free: 13.77 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.2777, allocations: 59.27 kB / 0.7397 GB, free: 13.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.2782, allocations: 245 kB / 0.74 GB, free: 13.45 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.2782, allocations: 29.7 kB / 0.74 GB, free: 13.42 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.2784, allocations: 187.9 kB / 0.7402 GB, free: 13.23 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.2785, allocations: 90.75 kB / 0.7403 GB, free: 13.14 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.2785, allocations: 8 kB / 0.7403 GB, free: 13.13 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2787, allocations: 330.8 kB / 0.7406 GB, free: 12.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.2791, allocations: 151.9 kB / 0.7407 GB, free: 12.65 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.2796, allocations: 229.6 kB / 0.7409 GB, free: 12.39 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.2801, allocations: 185.8 kB / 0.7411 GB, free: 12.21 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2801, allocations: 0 / 0.7411 GB, free: 12.21 MB / 0.573 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00182/0.2819, allocations: 0.5887 MB / 0.7417 GB, free: 11.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.282, allocations: 8 kB / 0.7417 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.282, allocations: 4 kB / 0.7417 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.2832, allocations: 192.9 kB / 0.7419 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.2837, allocations: 59.91 kB / 0.742 GB, free: 11.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/0.2882, allocations: 2.362 MB / 0.7443 GB, free: 8.855 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.2889, allocations: 15.98 kB / 0.7443 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.289, allocations: 12 kB / 0.7443 GB, free: 8.828 MB / 0.573 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.0004022/0.2895, allocations: 169.8 kB / 0.7444 GB, free: 8.652 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.2896, allocations: 23.72 kB / 0.7445 GB, free: 8.629 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009922/0.2906, allocations: 347.7 kB / 0.7448 GB, free: 8.289 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.2907, allocations: 4 kB / 0.7448 GB, free: 8.285 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2907, allocations: 112 / 0.7448 GB, free: 8.285 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2907, allocations: 7.875 kB / 0.7448 GB, free: 8.277 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.2924, allocations: 0.8142 MB / 0.7456 GB, free: 7.402 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2924, allocations: 4.062 kB / 0.7456 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007381/0.2931, allocations: 71.94 kB / 0.7457 GB, free: 7.328 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2932, allocations: 0 / 0.7457 GB, free: 7.328 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.2932, allocations: 8 kB / 0.7457 GB, free: 7.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2932, allocations: 4 kB / 0.7457 GB, free: 7.316 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2932, allocations: 3.938 kB / 0.7457 GB, free: 7.312 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.2945, allocations: 0.64 MB / 0.7463 GB, free: 6.641 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.2948, allocations: 120.9 kB / 0.7464 GB, free: 6.504 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.2948, allocations: 8 kB / 0.7464 GB, free: 6.496 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.2952, allocations: 15.98 kB / 0.7465 GB, free: 6.48 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.2953, allocations: 15.94 kB / 0.7465 GB, free: 6.465 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.2953, allocations: 11.98 kB / 0.7465 GB, free: 6.453 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002743/0.2956, allocations: 172.5 kB / 0.7467 GB, free: 6.285 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.424e-06/0.2956, allocations: 8 kB / 0.7467 GB, free: 6.277 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006006/0.2962, allocations: 91.94 kB / 0.7467 GB, free: 6.188 MB / 0.573 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.001685/0.2979, allocations: 1.318 MB / 0.748 GB, free: 4.828 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.2994, allocations: 0.5295 MB / 0.7486 GB, free: 4.285 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2994, allocations: 0.625 kB / 0.7486 GB, free: 4.285 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.2998, allocations: 157.7 kB / 0.7487 GB, free: 4.133 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.3004, allocations: 48.39 kB / 0.7487 GB, free: 4.086 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006473/0.3069, allocations: 3.765 MB / 0.7524 GB, free: 216 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.3074, allocations: 0.8028 MB / 0.7532 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003961/0.3078, allocations: 78.91 kB / 0.7533 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.3081, allocations: 87.41 kB / 0.7534 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of SimCode: time 1.092e-06/0.3081, allocations: 0 / 0.7534 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.3418, allocations: 6.266 MB / 0.7595 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.3423, allocations: 214 kB / 0.7597 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/2.934, allocations: 0 / 0.7597 GB, free: 8.859 MB / 0.5886 GB