Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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.009709/0.009709, allocations: 87.36 kB / 15.04 MB, free: 6.051 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.001132/0.001132, allocations: 168.8 kB / 15.92 MB, free: 5.992 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.262/2.262, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.319/2.319, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000631/0.0006311, allocations: 17.03 kB / 0.6243 GB, free: 21.14 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2482, allocations: 106.2 MB / 0.7281 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.008483/0.2567, allocations: 3.043 MB / 0.731 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005857/0.2626, allocations: 1.63 MB / 0.7326 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.2629, allocations: 7.875 kB / 0.7326 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.2632, allocations: 35.77 kB / 0.7327 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008653/0.2641, allocations: 127.6 kB / 0.7328 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.2654, allocations: 191.5 kB / 0.733 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007414/0.2662, allocations: 227.5 kB / 0.7332 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.2677, allocations: 382.5 kB / 0.7336 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.2681, allocations: 115.6 kB / 0.7337 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.2686, allocations: 131.5 kB / 0.7338 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.2687, allocations: 16 kB / 0.7338 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007392/0.2695, allocations: 135.8 kB / 0.7339 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.2697, allocations: 75.78 kB / 0.734 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.2699, allocations: 69.58 kB / 0.7341 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009264/0.2708, allocations: 339.4 kB / 0.7344 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.2709, allocations: 8 kB / 0.7344 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2709, allocations: 0 / 0.7344 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.2709, allocations: 0 / 0.7344 GB, free: 1.566 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002318/0.2732, allocations: 0.6056 MB / 0.735 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.2733, allocations: 8.031 kB / 0.735 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001358/0.2735, allocations: 58.5 kB / 0.7351 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.2754, allocations: 107.6 kB / 0.7352 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.2761, allocations: 262.5 kB / 0.7354 GB, free: 436 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.79e-05/0.2762, allocations: 16.44 kB / 0.7354 GB, free: 420 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.2764, allocations: 23.98 kB / 0.7355 GB, free: 396 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.2784, allocations: 426.6 kB / 0.7359 GB, free: 15.94 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.2784, allocations: 0 / 0.7359 GB, free: 15.94 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/0.2785, allocations: 11.98 kB / 0.7359 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.2787, allocations: 32.3 kB / 0.7359 GB, free: 15.89 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.2812, allocations: 412.7 kB / 0.7363 GB, free: 15.49 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004269/0.2855, allocations: 1.611 MB / 0.7379 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.2887, allocations: 485.2 kB / 0.7383 GB, free: 13.26 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.289, allocations: 89.11 kB / 0.7384 GB, free: 13.16 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.2904, allocations: 284.2 kB / 0.7387 GB, free: 12.86 MB / 0.573 GB Notification: Performance of pre-optimization done (n=27): time 5.18e-06/0.2904, allocations: 3.938 kB / 0.7387 GB, free: 12.86 MB / 0.573 GB Notification: Performance of matching and sorting (n=28): time 0.00476/0.2952, allocations: 0.7815 MB / 0.7395 GB, free: 12.05 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/0.2953, allocations: 85.05 kB / 0.7395 GB, free: 11.95 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.2959, allocations: 225 kB / 0.7398 GB, free: 11.72 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.193e-05/0.296, allocations: 33.7 kB / 0.7398 GB, free: 11.68 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.2962, allocations: 164.3 kB / 0.74 GB, free: 11.52 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.2964, allocations: 94.73 kB / 0.74 GB, free: 11.43 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.2965, allocations: 8 kB / 0.7401 GB, free: 11.42 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2967, allocations: 330.8 kB / 0.7404 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.2979, allocations: 180.2 kB / 0.7405 GB, free: 10.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.2992, allocations: 261.1 kB / 0.7408 GB, free: 10.62 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.3004, allocations: 237.8 kB / 0.741 GB, free: 10.39 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3005, allocations: 0 / 0.741 GB, free: 10.39 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002974/0.3035, allocations: 0.5563 MB / 0.7416 GB, free: 9.816 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005848/0.3041, allocations: 0.9107 MB / 0.7424 GB, free: 8.832 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3041, allocations: 0 / 0.7424 GB, free: 8.832 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004795/0.3046, allocations: 40.81 kB / 0.7425 GB, free: 8.789 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.3059, allocations: 95.8 kB / 0.7426 GB, free: 8.695 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.3089, allocations: 1.517 MB / 0.7441 GB, free: 7.039 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009558/0.3099, allocations: 55.86 kB / 0.7441 GB, free: 6.984 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.164e-05/0.31, allocations: 12 kB / 0.7441 GB, free: 6.973 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3101, allocations: 4 kB / 0.7441 GB, free: 6.969 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002947/0.313, allocations: 0.4914 MB / 0.7446 GB, free: 6.469 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3131, allocations: 0 / 0.7446 GB, free: 6.469 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/0.3135, allocations: 48.81 kB / 0.7447 GB, free: 6.418 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.3146, allocations: 79.88 kB / 0.7447 GB, free: 6.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.3172, allocations: 1.489 MB / 0.7462 GB, free: 4.715 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/0.3182, allocations: 55.86 kB / 0.7462 GB, free: 4.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/0.3182, allocations: 12 kB / 0.7462 GB, free: 4.648 MB / 0.573 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 () * Number of clocked 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.0004889/0.3188, allocations: 249.9 kB / 0.7465 GB, free: 4.395 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3189, allocations: 23.72 kB / 0.7465 GB, free: 4.371 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.3217, allocations: 491.7 kB / 0.747 GB, free: 3.887 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.3217, allocations: 11.94 kB / 0.747 GB, free: 3.875 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3218, allocations: 0 / 0.747 GB, free: 3.875 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.3218, allocations: 3.984 kB / 0.747 GB, free: 3.871 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.3233, allocations: 0.5701 MB / 0.7475 GB, free: 3.238 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.3234, allocations: 0 / 0.7475 GB, free: 3.238 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.3244, allocations: 79.86 kB / 0.7476 GB, free: 3.16 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/0.3248, allocations: 44.72 kB / 0.7477 GB, free: 3.113 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.3249, allocations: 12.09 kB / 0.7477 GB, free: 3.102 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.3272, allocations: 1.42 MB / 0.7491 GB, free: 1.539 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3273, allocations: 0 / 0.7491 GB, free: 1.539 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.33, allocations: 0.6087 MB / 0.7497 GB, free: 0.8867 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.3303, allocations: 136.7 kB / 0.7498 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.552e-05/0.3305, allocations: 4 kB / 0.7498 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.3313, allocations: 43.91 kB / 0.7498 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.3315, allocations: 35.95 kB / 0.7499 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.3316, allocations: 11.98 kB / 0.7499 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003512/0.332, allocations: 168.5 kB / 0.75 GB, free: 488 kB / 0.573 GB Notification: Performance of sort global known variables: time 6.91e-07/0.332, allocations: 0 / 0.75 GB, free: 488 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.001342/0.3333, allocations: 132 kB / 0.7502 GB, free: 356 kB / 0.573 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) * Number of clocked states: 0 () * 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.003319/0.3367, allocations: 1.352 MB / 0.7515 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004973/0.3417, allocations: 1.015 MB / 0.7525 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/0.3418, allocations: 0 / 0.7525 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.3438, allocations: 338.8 kB / 0.7528 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.3444, allocations: 46.8 kB / 0.7528 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.3504, allocations: 3.324 MB / 0.7561 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.3509, allocations: 0.8034 MB / 0.7569 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005526/0.3515, allocations: 94.19 kB / 0.757 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.3517, allocations: 79.41 kB / 0.757 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of SimCode: time 8.52e-07/0.3518, allocations: 4 kB / 0.757 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.3892, allocations: 6.573 MB / 0.7635 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.3897, allocations: 244.1 kB / 0.7637 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.851/3.241, allocations: 0 / 0.7637 GB, free: 2.41 MB / 0.5886 GB