Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01104/0.01105, allocations: 107.5 kB / 15.05 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001216/0.001215, allocations: 184.6 kB / 15.95 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.946/1.946, allocations: 194.5 MB / 211.2 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.334/2.334, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004888, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6616/0.6621, allocations: 98.71 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/0.9101, allocations: 140.4 MB / 0.8205 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.9105, allocations: 99.94 kB / 0.8206 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1422/1.053, allocations: 29.62 MB / 0.8495 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.164e-06/1.053, allocations: 0 / 0.8495 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.972e-05/1.053, allocations: 16 kB / 0.8496 GB, free: 3.699 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002738/1.056, allocations: 0.8528 MB / 0.8504 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/1.056, allocations: 8.031 kB / 0.8504 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000347/1.056, allocations: 98.5 kB / 0.8505 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/1.059, allocations: 218.7 kB / 0.8507 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.06, allocations: 476.4 kB / 0.8512 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/1.06, allocations: 33 kB / 0.8512 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/1.061, allocations: 51.92 kB / 0.8512 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/1.063, allocations: 0.9222 MB / 0.8521 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/1.063, allocations: 11.94 kB / 0.8522 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.063, allocations: 23.98 kB / 0.8522 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/1.063, allocations: 52.97 kB / 0.8522 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/1.065, allocations: 0.5694 MB / 0.8528 GB, free: 124 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007733/1.073, allocations: 5.658 MB / 0.8583 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/1.074, allocations: 455.8 kB / 0.8587 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/1.074, allocations: 4 kB / 0.8587 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/1.074, allocations: 38.52 kB / 0.8588 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 5.33e-06/1.074, allocations: 3.984 kB / 0.8588 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.004755/1.079, allocations: 1.506 MB / 0.8603 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/1.079, allocations: 55.41 kB / 0.8603 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/1.08, allocations: 430.1 kB / 0.8607 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.723e-05/1.08, allocations: 33.7 kB / 0.8608 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/1.08, allocations: 339.1 kB / 0.8611 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/1.081, allocations: 118.2 kB / 0.8612 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/1.081, allocations: 12 kB / 0.8612 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.081, allocations: 366.8 kB / 0.8615 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/1.081, allocations: 189 kB / 0.8617 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/1.082, allocations: 405.8 kB / 0.8621 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/1.083, allocations: 263.9 kB / 0.8624 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/1.083, allocations: 8 kB / 0.8624 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003229/1.086, allocations: 0.7619 MB / 0.8631 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/1.086, allocations: 8 kB / 0.8631 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.266e-05/1.086, allocations: 8.906 kB / 0.8631 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/1.088, allocations: 156.2 kB / 0.8633 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009757/1.089, allocations: 119.7 kB / 0.8634 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/1.094, allocations: 4.061 MB / 0.8674 GB, free: 84 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/1.094, allocations: 31.97 kB / 0.8674 GB, free: 52 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.744e-05/1.094, allocations: 24 kB / 0.8674 GB, free: 28 kB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000459/1.095, allocations: 209.8 kB / 0.8676 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.095, allocations: 59.25 kB / 0.8677 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/1.097, allocations: 0.597 MB / 0.8683 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.097, allocations: 4 kB / 0.8683 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.097, allocations: 3.953 kB / 0.8683 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/1.097, allocations: 7.984 kB / 0.8683 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/1.1, allocations: 1.246 MB / 0.8695 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.1, allocations: 12.02 kB / 0.8695 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/1.101, allocations: 63.84 kB / 0.8696 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007458/1.102, allocations: 136.2 kB / 0.8697 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/1.102, allocations: 8 kB / 0.8697 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/1.107, allocations: 4.053 MB / 0.8737 GB, free: 9.098 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.517e-06/1.107, allocations: 4.031 kB / 0.8737 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/1.11, allocations: 0.7827 MB / 0.8744 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/1.11, allocations: 168.3 kB / 0.8746 GB, free: 8.031 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.11, allocations: 8 kB / 0.8746 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/1.111, allocations: 27.97 kB / 0.8746 GB, free: 7.996 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.111, allocations: 35.83 kB / 0.8747 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/1.111, allocations: 15.95 kB / 0.8747 GB, free: 7.945 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000584/1.111, allocations: 330.8 kB / 0.875 GB, free: 7.625 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.111, allocations: 0 / 0.875 GB, free: 7.625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009067/1.112, allocations: 144 kB / 0.8751 GB, free: 7.484 MB / 0.698 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 (29): * 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): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002528/1.115, allocations: 1.826 MB / 0.8769 GB, free: 5.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002244/1.117, allocations: 1.021 MB / 0.8779 GB, free: 4.469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.117, allocations: 4 kB / 0.8779 GB, free: 4.465 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/1.119, allocations: 0.7309 MB / 0.8786 GB, free: 3.652 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/1.12, allocations: 182.8 kB / 0.8788 GB, free: 3.473 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.135, allocations: 8.216 MB / 0.8868 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/1.135, allocations: 0.9141 MB / 0.8877 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006365/1.136, allocations: 113.2 kB / 0.8878 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/1.136, allocations: 195.4 kB / 0.888 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.136, allocations: 0 / 0.888 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04781/1.184, allocations: 12.09 MB / 0.8998 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000336/1.185, allocations: 214 kB / 0.9 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.939, allocations: 0 / 0.9 GB, free: 13.62 MB / 0.7292 GB