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.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.0111/0.01111, allocations: 105.7 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.001208/0.001208, allocations: 183.9 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.932/1.932, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.436/2.436, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007707/0.0007711, allocations: 15.94 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7361, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.007056/0.7432, allocations: 3.157 MB / 0.6865 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004978/0.7482, allocations: 1.696 MB / 0.6882 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006239/0.7489, allocations: 14.75 kB / 0.6882 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.7493, allocations: 46.36 kB / 0.6882 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.7506, allocations: 237 kB / 0.6885 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.7517, allocations: 192.3 kB / 0.6886 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.7531, allocations: 387.2 kB / 0.689 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.7543, allocations: 326.2 kB / 0.6893 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/0.755, allocations: 202.9 kB / 0.6895 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005955/0.7557, allocations: 178.8 kB / 0.6897 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.881e-05/0.7558, allocations: 12.44 kB / 0.6897 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005713/0.7563, allocations: 108.6 kB / 0.6898 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.7566, allocations: 95.95 kB / 0.6899 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.7568, allocations: 98.14 kB / 0.69 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.7578, allocations: 400.6 kB / 0.6904 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7579, allocations: 1.281 kB / 0.6904 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7579, allocations: 0 / 0.6904 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.7579, allocations: 4 kB / 0.6904 GB, free: 12.45 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001843/0.7598, allocations: 0.66 MB / 0.691 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.7598, allocations: 13.05 kB / 0.691 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.76, allocations: 79.12 kB / 0.6911 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.762, allocations: 119.7 kB / 0.6912 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.7635, allocations: 366.5 kB / 0.6916 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.7636, allocations: 21.34 kB / 0.6916 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.7638, allocations: 30.8 kB / 0.6916 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.7663, allocations: 0.5535 MB / 0.6922 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/0.7664, allocations: 6 kB / 0.6922 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/0.7666, allocations: 16.86 kB / 0.6922 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/0.7668, allocations: 45.36 kB / 0.6922 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.7691, allocations: 418.8 kB / 0.6926 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006307/0.7755, allocations: 3.336 MB / 0.6959 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.7774, allocations: 346.4 kB / 0.6962 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.7775, allocations: 3.094 kB / 0.6962 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.7775, allocations: 33.72 kB / 0.6962 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 4.378e-06/0.7775, allocations: 0 / 0.6962 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.005245/0.7828, allocations: 1.084 MB / 0.6973 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.7829, allocations: 54.58 kB / 0.6974 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008186/0.7837, allocations: 335.9 kB / 0.6977 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/0.7838, allocations: 31.02 kB / 0.6977 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.7841, allocations: 249.8 kB / 0.6979 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.7843, allocations: 95.17 kB / 0.698 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.7844, allocations: 10.06 kB / 0.698 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7845, allocations: 347 kB / 0.6984 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/0.7853, allocations: 150 kB / 0.6985 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.7862, allocations: 301.1 kB / 0.6988 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/0.7871, allocations: 194.9 kB / 0.699 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.7872, allocations: 1.219 kB / 0.699 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002663/0.7899, allocations: 0.5638 MB / 0.6995 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.79, allocations: 8 kB / 0.6996 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.79, allocations: 4.938 kB / 0.6996 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007883/0.7908, allocations: 95.89 kB / 0.6996 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.7919, allocations: 86.39 kB / 0.6997 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/0.7919, allocations: 11.17 kB / 0.6997 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008068/0.7927, allocations: 33.09 kB / 0.6998 GB, free: 5.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.7929, allocations: 18.47 kB / 0.6998 GB, free: 5.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.7932, allocations: 182.9 kB / 0.7 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.7933, allocations: 43.12 kB / 0.7 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.7948, allocations: 478.4 kB / 0.7005 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.7949, allocations: 3.5 kB / 0.7005 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.7949, allocations: 5.312 kB / 0.7005 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.7949, allocations: 1.359 kB / 0.7005 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.7973, allocations: 0.9719 MB / 0.7014 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.7973, allocations: 1.375 kB / 0.7014 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.7978, allocations: 55.55 kB / 0.7015 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004127/0.7982, allocations: 87.44 kB / 0.7016 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.7983, allocations: 6.594 kB / 0.7016 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.7983, allocations: 1.312 kB / 0.7016 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7983, allocations: 5.203 kB / 0.7016 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.7997, allocations: 0.5813 MB / 0.7021 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.8, allocations: 139.2 kB / 0.7023 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.8001, allocations: 5.219 kB / 0.7023 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.8005, allocations: 25.97 kB / 0.7023 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.8007, allocations: 30.67 kB / 0.7023 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.8007, allocations: 4.875 kB / 0.7023 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003737/0.8011, allocations: 234.5 kB / 0.7026 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8011, allocations: 1.125 kB / 0.7026 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006983/0.8018, allocations: 88.67 kB / 0.7026 GB, free: 3.766 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00167/0.8035, allocations: 1.342 MB / 0.704 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.8049, allocations: 0.6388 MB / 0.7046 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.805, allocations: 9.562 kB / 0.7046 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.8056, allocations: 430.2 kB / 0.705 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.8067, allocations: 123.4 kB / 0.7051 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/0.8139, allocations: 5.374 MB / 0.7104 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.8146, allocations: 0.835 MB / 0.7112 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005344/0.8152, allocations: 79.75 kB / 0.7113 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.8155, allocations: 132 kB / 0.7114 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/0.8155, allocations: 0 / 0.7114 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.8524, allocations: 7.797 MB / 0.719 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003411/0.8528, allocations: 221.4 kB / 0.7192 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/3.498, allocations: 0 / 0.7192 GB, free: 8.18 MB / 0.5417 GB