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.GeneratorLoadGrid.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.GeneratorLoadGrid,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.009943/0.009943, allocations: 89.25 kB / 15.04 MB, free: 5.578 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.001128/0.001128, allocations: 175.1 kB / 15.92 MB, free: 5.551 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.159/2.159, 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.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.000465, allocations: 11.16 kB / 0.6243 GB, free: 21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 106.2 MB / 0.7281 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004488/0.2271, allocations: 2.451 MB / 0.7305 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003486/0.2307, allocations: 1.541 MB / 0.732 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.2309, allocations: 7.938 kB / 0.732 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.2311, allocations: 27.78 kB / 0.732 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.2317, allocations: 123.6 kB / 0.7321 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.2324, allocations: 167.5 kB / 0.7323 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.2328, allocations: 179.6 kB / 0.7324 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009881/0.2338, allocations: 362.9 kB / 0.7328 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.234, allocations: 87.73 kB / 0.7329 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.2343, allocations: 99.59 kB / 0.733 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.2344, allocations: 8 kB / 0.733 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.2348, allocations: 135.8 kB / 0.7331 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.235, allocations: 67.8 kB / 0.7332 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.2351, allocations: 65.58 kB / 0.7332 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.2357, allocations: 307.5 kB / 0.7335 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2357, allocations: 0 / 0.7335 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2357, allocations: 0 / 0.7335 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2357, allocations: 0 / 0.7335 GB, free: 2.492 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001081/0.2368, allocations: 0.5182 MB / 0.734 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2369, allocations: 8.031 kB / 0.734 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.793e-05/0.237, allocations: 58.55 kB / 0.7341 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.238, allocations: 99.61 kB / 0.7342 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.2385, allocations: 253.3 kB / 0.7344 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2386, allocations: 12.38 kB / 0.7344 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.2386, allocations: 19.94 kB / 0.7345 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.2396, allocations: 382.2 kB / 0.7348 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2396, allocations: 0 / 0.7348 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.2397, allocations: 11.95 kB / 0.7348 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.868e-05/0.2398, allocations: 20.31 kB / 0.7349 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.2408, allocations: 336.6 kB / 0.7352 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.2435, allocations: 1.728 MB / 0.7369 GB, free: 14.8 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.2448, allocations: 341 kB / 0.7372 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.245, allocations: 85.09 kB / 0.7373 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.245, allocations: 38.5 kB / 0.7373 GB, free: 14.3 MB / 0.573 GB Notification: Performance of pre-optimization done (n=20): time 2.846e-06/0.245, allocations: 0 / 0.7373 GB, free: 14.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=21): time 0.002193/0.2472, allocations: 0.6041 MB / 0.7379 GB, free: 13.66 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.2473, allocations: 81.06 kB / 0.738 GB, free: 13.57 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.2476, allocations: 211.6 kB / 0.7382 GB, free: 13.35 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.2477, allocations: 33.7 kB / 0.7382 GB, free: 13.31 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2478, allocations: 148 kB / 0.7384 GB, free: 13.16 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/0.2479, allocations: 86.83 kB / 0.7384 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.2479, allocations: 4 kB / 0.7384 GB, free: 13.07 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2481, allocations: 326.8 kB / 0.7388 GB, free: 12.75 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.2485, allocations: 136.5 kB / 0.7389 GB, free: 12.61 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.249, allocations: 224 kB / 0.7391 GB, free: 12.36 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.2495, allocations: 156.9 kB / 0.7392 GB, free: 12.21 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2496, allocations: 0 / 0.7392 GB, free: 12.21 MB / 0.573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001348/0.2509, allocations: 443 kB / 0.7397 GB, free: 11.77 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004579/0.2514, allocations: 1.051 MB / 0.7407 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2514, allocations: 4 kB / 0.7407 GB, free: 10.63 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003523/0.2518, allocations: 44.81 kB / 0.7407 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.2524, allocations: 75.88 kB / 0.7408 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.2544, allocations: 1.501 MB / 0.7423 GB, free: 8.867 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.2548, allocations: 35.81 kB / 0.7423 GB, free: 8.832 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.2549, allocations: 15.98 kB / 0.7423 GB, free: 8.816 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2549, allocations: 7.125 kB / 0.7423 GB, free: 8.812 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.2561, allocations: 372.6 kB / 0.7427 GB, free: 8.445 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2561, allocations: 8.016 kB / 0.7427 GB, free: 8.438 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002369/0.2564, allocations: 40.81 kB / 0.7427 GB, free: 8.395 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.2569, allocations: 71.89 kB / 0.7428 GB, free: 8.324 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.2587, allocations: 1.493 MB / 0.7443 GB, free: 6.688 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.2591, allocations: 31.81 kB / 0.7443 GB, free: 6.656 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.2591, allocations: 12 kB / 0.7443 GB, free: 6.645 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.2594, allocations: 233.1 kB / 0.7445 GB, free: 6.406 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.2595, allocations: 23.77 kB / 0.7446 GB, free: 6.383 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2607, allocations: 368.3 kB / 0.7449 GB, free: 6.02 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2607, allocations: 4 kB / 0.7449 GB, free: 6.016 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2608, allocations: 3.984 kB / 0.7449 GB, free: 6.012 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2608, allocations: 3.938 kB / 0.7449 GB, free: 6.008 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.2631, allocations: 0.9707 MB / 0.7459 GB, free: 4.961 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.2632, allocations: 8.062 kB / 0.7459 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.2636, allocations: 52.11 kB / 0.7459 GB, free: 4.902 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/0.2638, allocations: 40.83 kB / 0.746 GB, free: 4.859 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.2639, allocations: 8 kB / 0.746 GB, free: 4.852 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.2655, allocations: 1.422 MB / 0.7474 GB, free: 3.301 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2655, allocations: 0 / 0.7474 GB, free: 3.301 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.2667, allocations: 0.6174 MB / 0.748 GB, free: 2.602 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.2669, allocations: 128.8 kB / 0.7481 GB, free: 2.457 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.267, allocations: 4 kB / 0.7481 GB, free: 2.453 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.2674, allocations: 27.91 kB / 0.7481 GB, free: 2.426 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2675, allocations: 27.91 kB / 0.7481 GB, free: 2.398 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.2676, allocations: 11.95 kB / 0.7482 GB, free: 2.387 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002084/0.2678, allocations: 155 kB / 0.7483 GB, free: 2.234 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2678, allocations: 0 / 0.7483 GB, free: 2.234 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008659/0.2687, allocations: 108 kB / 0.7484 GB, free: 2.129 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 20 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001782/0.2705, allocations: 1.657 MB / 0.75 GB, free: 404 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002087/0.2726, allocations: 0.7386 MB / 0.7507 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.2726, allocations: 0 / 0.7507 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000673/0.2733, allocations: 282.5 kB / 0.751 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.2738, allocations: 27.98 kB / 0.751 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.2785, allocations: 3.304 MB / 0.7543 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.2789, allocations: 0.7755 MB / 0.755 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004886/0.2794, allocations: 93.84 kB / 0.7551 GB, free: 11 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.2797, allocations: 71.41 kB / 0.7552 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/0.2797, allocations: 0 / 0.7552 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.312, allocations: 5.157 MB / 0.7602 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/0.3124, allocations: 211.8 kB / 0.7604 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/2.785, allocations: 0 / 0.7604 GB, free: 5.66 MB / 0.5886 GB