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.01115/0.01116, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.001166/0.001166, allocations: 178.2 kB / 15.95 MB, free: 5.52 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.9/1.9, allocations: 194.5 MB / 211.3 MB, free: 10.98 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.248/2.248, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004609, allocations: 15.92 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.6565, allocations: 98.72 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006334/0.6629, allocations: 4.107 MB / 0.6875 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005056/0.668, allocations: 2.314 MB / 0.6897 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006842/0.6688, allocations: 20.75 kB / 0.6897 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.6691, allocations: 67.34 kB / 0.6898 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.6706, allocations: 362 kB / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.6718, allocations: 287.5 kB / 0.6904 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.6732, allocations: 0.5809 MB / 0.691 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.6743, allocations: 430.9 kB / 0.6914 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.6749, allocations: 260.2 kB / 0.6916 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.6755, allocations: 291.6 kB / 0.6919 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.423e-05/0.6756, allocations: 19.97 kB / 0.6919 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/0.6762, allocations: 145.5 kB / 0.6921 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.6765, allocations: 142.2 kB / 0.6922 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.6767, allocations: 139.3 kB / 0.6923 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.6778, allocations: 0.5849 MB / 0.6929 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6778, allocations: 0 / 0.6929 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6779, allocations: 1.219 kB / 0.6929 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.6779, allocations: 0 / 0.6929 GB, free: 10.83 MB / 0.5261 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.001825/0.6797, allocations: 0.8242 MB / 0.6937 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.6798, allocations: 9.875 kB / 0.6937 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.6799, allocations: 97.41 kB / 0.6938 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.6815, allocations: 178.1 kB / 0.694 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.6826, allocations: 481.3 kB / 0.6945 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.6827, allocations: 30.53 kB / 0.6945 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.6828, allocations: 45.56 kB / 0.6945 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.6844, allocations: 0.8405 MB / 0.6953 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.6845, allocations: 8.047 kB / 0.6954 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/0.6846, allocations: 24.39 kB / 0.6954 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.6847, allocations: 69.81 kB / 0.6954 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.6861, allocations: 0.5601 MB / 0.696 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005639/0.6918, allocations: 5.65 MB / 0.7015 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.6929, allocations: 450.1 kB / 0.7019 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.6929, allocations: 6.453 kB / 0.7019 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.693, allocations: 44.36 kB / 0.702 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.685e-06/0.693, allocations: 1 kB / 0.702 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.003862/0.6968, allocations: 1.5 MB / 0.7035 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.6969, allocations: 54.66 kB / 0.7035 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007166/0.6976, allocations: 491 kB / 0.704 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.6977, allocations: 31.42 kB / 0.704 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.6979, allocations: 367.7 kB / 0.7044 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.6981, allocations: 125.2 kB / 0.7045 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.6981, allocations: 11.66 kB / 0.7045 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.6982, allocations: 362.7 kB / 0.7048 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.6987, allocations: 188.1 kB / 0.705 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.6993, allocations: 451.6 kB / 0.7054 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.6999, allocations: 259.3 kB / 0.7057 GB, free: 496 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.6999, allocations: 6.625 kB / 0.7057 GB, free: 492 kB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00203/0.7019, allocations: 0.7995 MB / 0.7065 GB, free: 36 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.702, allocations: 13.06 kB / 0.7065 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.702, allocations: 7.844 kB / 0.7065 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008195/0.7028, allocations: 151.1 kB / 0.7066 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.7036, allocations: 127.3 kB / 0.7068 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/0.7078, allocations: 4.073 MB / 0.7107 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007752/0.7086, allocations: 33.31 kB / 0.7108 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.7087, allocations: 27.97 kB / 0.7108 GB, free: 11.75 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * 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.0004164/0.7091, allocations: 210 kB / 0.711 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.7093, allocations: 68.94 kB / 0.7111 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.7109, allocations: 0.5997 MB / 0.7116 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.711, allocations: 7.781 kB / 0.7117 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.711, allocations: 1.125 kB / 0.7117 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.711, allocations: 1.156 kB / 0.7117 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.714, allocations: 1.254 MB / 0.7129 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.714, allocations: 2.188 kB / 0.7129 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.7145, allocations: 58.55 kB / 0.7129 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007167/0.7152, allocations: 136.4 kB / 0.7131 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.7153, allocations: 11.91 kB / 0.7131 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/0.7196, allocations: 4.051 MB / 0.717 GB, free: 6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.7196, allocations: 5.719 kB / 0.717 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.7216, allocations: 0.7868 MB / 0.7178 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.722, allocations: 165.5 kB / 0.718 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.7221, allocations: 11.94 kB / 0.718 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/0.7226, allocations: 23 kB / 0.718 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.7227, allocations: 36.78 kB / 0.718 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.7228, allocations: 13.03 kB / 0.718 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005743/0.7234, allocations: 326.1 kB / 0.7184 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7234, allocations: 0 / 0.7184 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009814/0.7244, allocations: 145.4 kB / 0.7185 GB, free: 4.965 MB / 0.5417 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.002343/0.7267, allocations: 1.82 MB / 0.7203 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.729, allocations: 1.029 MB / 0.7213 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.729, allocations: 4.125 kB / 0.7213 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.7303, allocations: 0.7414 MB / 0.722 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.7318, allocations: 189 kB / 0.7222 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.742, allocations: 8.987 MB / 0.731 GB, free: 9.809 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/0.7429, allocations: 0.916 MB / 0.7319 GB, free: 9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007081/0.7436, allocations: 123.1 kB / 0.732 GB, free: 8.941 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.744, allocations: 197.8 kB / 0.7322 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of SimCode: time 8.82e-07/0.744, allocations: 1.281 kB / 0.7322 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06008/0.8041, allocations: 12.05 MB / 0.7439 GB, free: 13.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003474/0.8045, allocations: 210.1 kB / 0.7441 GB, free: 13.66 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/3.743, allocations: 3.938 kB / 0.7441 GB, free: 13.66 MB / 0.573 GB