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.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.009802/0.009806, allocations: 88.72 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.001162/0.001161, allocations: 168.1 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.123/2.123, 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.267/2.267, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006315/0.0006318, allocations: 12.03 kB / 0.6243 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2139, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008911/0.2229, allocations: 5.218 MB / 0.7332 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006733/0.2297, allocations: 3.003 MB / 0.7361 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.2303, allocations: 27.75 kB / 0.7361 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.2307, allocations: 103.3 kB / 0.7362 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.232, allocations: 350.9 kB / 0.7366 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.2334, allocations: 375 kB / 0.7369 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.2346, allocations: 0.6415 MB / 0.7375 GB, free: 424 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.2369, allocations: 0.9062 MB / 0.7384 GB, free: 15.48 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006988/0.2376, allocations: 330.8 kB / 0.7387 GB, free: 15.16 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.2384, allocations: 342.7 kB / 0.7391 GB, free: 14.82 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.787e-05/0.2385, allocations: 32 kB / 0.7391 GB, free: 14.79 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000682/0.2392, allocations: 207.6 kB / 0.7393 GB, free: 14.59 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.2395, allocations: 227.4 kB / 0.7395 GB, free: 14.37 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.2397, allocations: 165.3 kB / 0.7397 GB, free: 14.2 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.241, allocations: 0.8262 MB / 0.7405 GB, free: 13.37 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.241, allocations: 0 / 0.7405 GB, free: 13.37 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.683e-06/0.241, allocations: 4 kB / 0.7405 GB, free: 13.37 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.241, allocations: 0 / 0.7405 GB, free: 13.37 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001943/0.243, allocations: 0.9114 MB / 0.7414 GB, free: 12.4 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.243, allocations: 8.031 kB / 0.7414 GB, free: 12.39 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.2432, allocations: 118.4 kB / 0.7415 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.2452, allocations: 214.8 kB / 0.7417 GB, free: 12.06 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.2464, allocations: 0.5055 MB / 0.7422 GB, free: 11.51 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.2465, allocations: 45.3 kB / 0.7422 GB, free: 11.47 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.2467, allocations: 63.89 kB / 0.7423 GB, free: 11.41 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.2488, allocations: 1.026 MB / 0.7433 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.2489, allocations: 4 kB / 0.7433 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.249, allocations: 35.92 kB / 0.7433 GB, free: 10.23 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.2491, allocations: 69.22 kB / 0.7434 GB, free: 10.17 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.2509, allocations: 0.6879 MB / 0.7441 GB, free: 9.48 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/0.2586, allocations: 5.76 MB / 0.7497 GB, free: 3.289 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.2599, allocations: 0.5981 MB / 0.7503 GB, free: 2.645 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.26, allocations: 8 kB / 0.7503 GB, free: 2.637 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.26, allocations: 38.56 kB / 0.7503 GB, free: 2.59 MB / 0.573 GB Notification: Performance of pre-optimization done (n=41): time 2.745e-06/0.26, allocations: 0 / 0.7503 GB, free: 2.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=42): time 0.006435/0.2665, allocations: 1.896 MB / 0.7522 GB, free: 0.5977 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.2666, allocations: 59.34 kB / 0.7522 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.2673, allocations: 454.8 kB / 0.7527 GB, free: 76 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.2674, allocations: 29.7 kB / 0.7527 GB, free: 40 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.2677, allocations: 387 kB / 0.7531 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.2679, allocations: 149.8 kB / 0.7532 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.268, allocations: 12 kB / 0.7532 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2682, allocations: 366.8 kB / 0.7536 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.2687, allocations: 225.2 kB / 0.7538 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/0.2695, allocations: 441 kB / 0.7542 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007308/0.2702, allocations: 299.8 kB / 0.7545 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.2702, allocations: 4 kB / 0.7545 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002899/0.2731, allocations: 0.9756 MB / 0.7555 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.2732, allocations: 8.875 kB / 0.7555 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.2732, allocations: 4 kB / 0.7555 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.2747, allocations: 279.1 kB / 0.7557 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/0.2754, allocations: 103.8 kB / 0.7558 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009117/0.2845, allocations: 6.733 MB / 0.7624 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.2852, allocations: 31.97 kB / 0.7624 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.2853, allocations: 31.98 kB / 0.7625 GB, free: 5.359 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (55): * Single equations (assignments): 51 * 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: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000469/0.2858, allocations: 250.9 kB / 0.7627 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.286, allocations: 63.19 kB / 0.7628 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.2885, allocations: 0.8266 MB / 0.7636 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2885, allocations: 4.188 kB / 0.7636 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.2885, allocations: 4 kB / 0.7636 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2885, allocations: 11.92 kB / 0.7636 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.2927, allocations: 1.715 MB / 0.7653 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.2928, allocations: 0 / 0.7653 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.2932, allocations: 51.91 kB / 0.7653 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.2946, allocations: 243.2 kB / 0.7655 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.2947, allocations: 8 kB / 0.7656 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008796/0.3035, allocations: 6.46 MB / 0.7719 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3035, allocations: 0 / 0.7719 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.3061, allocations: 0.9743 MB / 0.7728 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.3065, allocations: 176.3 kB / 0.773 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3066, allocations: 12 kB / 0.773 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.3071, allocations: 31.86 kB / 0.773 GB, free: 9.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.3073, allocations: 31.95 kB / 0.7731 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.3073, allocations: 16 kB / 0.7731 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004959/0.3079, allocations: 310.8 kB / 0.7734 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3079, allocations: 0 / 0.7734 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001079/0.309, allocations: 188 kB / 0.7735 GB, free: 9.219 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003003/0.312, allocations: 1.936 MB / 0.7754 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002701/0.3147, allocations: 1.14 MB / 0.7766 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3148, allocations: 0 / 0.7766 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.3165, allocations: 0.8035 MB / 0.7773 GB, free: 5.152 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.3179, allocations: 176 kB / 0.7775 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.3282, allocations: 8.375 MB / 0.7857 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/0.329, allocations: 1.004 MB / 0.7867 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005616/0.3296, allocations: 105.2 kB / 0.7868 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/0.33, allocations: 223.4 kB / 0.787 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.33, allocations: 0 / 0.787 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05236/0.3824, allocations: 13.9 MB / 0.8005 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003236/0.3828, allocations: 224.5 kB / 0.8008 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.142, allocations: 0 / 0.8008 GB, free: 13.08 MB / 0.6355 GB