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.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.009881/0.009886, allocations: 89.48 kB / 15.04 MB, free: 6.055 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.001149/0.001148, allocations: 173.6 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.105/2.105, 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.395/2.395, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 14.58 kB / 0.6243 GB, free: 21.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 106.2 MB / 0.7281 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004685/0.2222, allocations: 2.618 MB / 0.7306 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003875/0.2261, allocations: 1.799 MB / 0.7324 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.2264, allocations: 4 kB / 0.7324 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.2265, allocations: 27.78 kB / 0.7324 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005421/0.2271, allocations: 135.6 kB / 0.7325 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000717/0.2278, allocations: 175.5 kB / 0.7327 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.2282, allocations: 183.6 kB / 0.7329 GB, free: 3.172 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007568/0.229, allocations: 309.8 kB / 0.7332 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.2292, allocations: 95.67 kB / 0.7333 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.2295, allocations: 103.6 kB / 0.7334 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.2295, allocations: 15.94 kB / 0.7334 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006958/0.2302, allocations: 235.6 kB / 0.7336 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.2304, allocations: 71.8 kB / 0.7337 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.2305, allocations: 65.58 kB / 0.7337 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006396/0.2311, allocations: 351.4 kB / 0.7341 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2311, allocations: 0 / 0.7341 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2311, allocations: 0 / 0.7341 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2312, allocations: 0 / 0.7341 GB, free: 1.926 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00101/0.2322, allocations: 0.5223 MB / 0.7346 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2322, allocations: 12.03 kB / 0.7346 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.373e-05/0.2323, allocations: 62.53 kB / 0.7347 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.2336, allocations: 123.6 kB / 0.7348 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.234, allocations: 260.2 kB / 0.735 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2341, allocations: 16.44 kB / 0.735 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.2341, allocations: 20 kB / 0.7351 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000808/0.235, allocations: 345.1 kB / 0.7354 GB, free: 468 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.235, allocations: 0 / 0.7354 GB, free: 468 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.2351, allocations: 11.95 kB / 0.7354 GB, free: 456 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-05/0.2351, allocations: 28.42 kB / 0.7354 GB, free: 428 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.2359, allocations: 297.5 kB / 0.7357 GB, free: 128 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003336/0.2393, allocations: 1.745 MB / 0.7374 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/0.2402, allocations: 314.2 kB / 0.7377 GB, free: 13.87 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.2404, allocations: 85.09 kB / 0.7378 GB, free: 13.77 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.2404, allocations: 46.5 kB / 0.7378 GB, free: 13.71 MB / 0.573 GB Notification: Performance of pre-optimization done (n=16): time 3.967e-06/0.2404, allocations: 0 / 0.7378 GB, free: 13.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=23): time 0.004232/0.2447, allocations: 0.9583 MB / 0.7388 GB, free: 12.72 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.2448, allocations: 89.23 kB / 0.7389 GB, free: 12.62 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.2451, allocations: 215.6 kB / 0.7391 GB, free: 12.39 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.2452, allocations: 29.7 kB / 0.7391 GB, free: 12.36 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.2453, allocations: 168.2 kB / 0.7392 GB, free: 12.19 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.364e-05/0.2454, allocations: 82.75 kB / 0.7393 GB, free: 12.11 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.2455, allocations: 12.03 kB / 0.7393 GB, free: 12.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2456, allocations: 338.7 kB / 0.7397 GB, free: 11.76 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.246, allocations: 123.9 kB / 0.7398 GB, free: 11.64 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.2464, allocations: 213.2 kB / 0.74 GB, free: 11.39 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.2468, allocations: 170.3 kB / 0.7401 GB, free: 11.23 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2468, allocations: 96 / 0.7401 GB, free: 11.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001439/0.2483, allocations: 0.512 MB / 0.7406 GB, free: 10.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2483, allocations: 4 kB / 0.7407 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2483, allocations: 4 kB / 0.7407 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007818/0.2491, allocations: 151.6 kB / 0.7408 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.2496, allocations: 59.91 kB / 0.7409 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/0.2536, allocations: 3.989 MB / 0.7448 GB, free: 6.168 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.2539, allocations: 19.89 kB / 0.7448 GB, free: 6.148 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.254, allocations: 16 kB / 0.7448 GB, free: 6.133 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): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002767/0.2543, allocations: 161.8 kB / 0.7449 GB, free: 5.965 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.2544, allocations: 19.81 kB / 0.745 GB, free: 5.945 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.2557, allocations: 481.7 kB / 0.7454 GB, free: 5.461 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2558, allocations: 0 / 0.7454 GB, free: 5.461 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2558, allocations: 4 kB / 0.7454 GB, free: 5.457 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.2558, allocations: 3.984 kB / 0.7454 GB, free: 5.453 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.2582, allocations: 1.008 MB / 0.7464 GB, free: 4.352 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2582, allocations: 0 / 0.7464 GB, free: 4.352 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.2585, allocations: 43.91 kB / 0.7465 GB, free: 4.309 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006974/0.2592, allocations: 139.6 kB / 0.7466 GB, free: 4.16 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.2592, allocations: 12 kB / 0.7466 GB, free: 4.148 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00385/0.2631, allocations: 3.97 MB / 0.7505 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.2631, allocations: 4.031 kB / 0.7505 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.2645, allocations: 0.7347 MB / 0.7512 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.2648, allocations: 132.8 kB / 0.7513 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.2648, allocations: 4 kB / 0.7513 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.2652, allocations: 15.98 kB / 0.7513 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.2653, allocations: 31.86 kB / 0.7514 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.2653, allocations: 12 kB / 0.7514 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002147/0.2655, allocations: 152.2 kB / 0.7515 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2655, allocations: 0 / 0.7515 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007309/0.2663, allocations: 92 kB / 0.7516 GB, free: 14.56 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00192/0.2682, allocations: 1.93 MB / 0.7535 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.2696, allocations: 0.5615 MB / 0.754 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2696, allocations: 0 / 0.754 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008319/0.2705, allocations: 406 kB / 0.7544 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.271, allocations: 35.92 kB / 0.7545 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.2757, allocations: 3.301 MB / 0.7577 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.2762, allocations: 0.7947 MB / 0.7585 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003211/0.2765, allocations: 62.22 kB / 0.7585 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.2767, allocations: 67.42 kB / 0.7586 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of SimCode: time 9.51e-07/0.2767, allocations: 0 / 0.7586 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3075, allocations: 6.216 MB / 0.7647 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/0.3079, allocations: 211.3 kB / 0.7649 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/2.769, allocations: 0 / 0.7649 GB, free: 0.8125 MB / 0.5886 GB