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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.949/3.949, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.136e-05, allocations: 4.656 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/0.5069, allocations: 140.7 MB / 0.7721 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003728/0.5073, allocations: 103.9 kB / 0.7722 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6378/1.145, allocations: 20.3 MB / 0.792 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.433e-06/1.145, allocations: 3.938 kB / 0.792 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.218e-05/1.145, allocations: 10.5 kB / 0.792 GB, free: 140.1 MB / 0.6511 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.001304/1.147, allocations: 0.6465 MB / 0.7927 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.147, allocations: 9.406 kB / 0.7927 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/1.147, allocations: 69.67 kB / 0.7927 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/1.148, allocations: 133.2 kB / 0.7929 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/1.149, allocations: 379 kB / 0.7932 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/1.149, allocations: 21.75 kB / 0.7932 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/1.149, allocations: 31.66 kB / 0.7933 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/1.15, allocations: 0.5857 MB / 0.7938 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/1.15, allocations: 5 kB / 0.7939 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-05/1.15, allocations: 15.66 kB / 0.7939 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.092e-05/1.15, allocations: 32.61 kB / 0.7939 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/1.151, allocations: 381.3 kB / 0.7943 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/1.155, allocations: 3.366 MB / 0.7976 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009904/1.156, allocations: 314.5 kB / 0.7979 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/1.157, allocations: 160.4 kB / 0.798 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/1.157, allocations: 2.688 kB / 0.798 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/1.157, allocations: 43.55 kB / 0.798 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 3.156e-06/1.157, allocations: 0 / 0.798 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.001871/1.159, allocations: 0.5938 MB / 0.7986 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/1.159, allocations: 58.36 kB / 0.7987 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/1.159, allocations: 295.3 kB / 0.799 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/1.159, allocations: 28.33 kB / 0.799 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/1.159, allocations: 234.2 kB / 0.7992 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/1.16, allocations: 95.02 kB / 0.7993 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/1.16, allocations: 4.719 kB / 0.7993 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/1.16, allocations: 344.7 kB / 0.7996 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/1.16, allocations: 133.6 kB / 0.7998 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/1.16, allocations: 262.5 kB / 0.8 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/1.161, allocations: 175.4 kB / 0.8002 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.161, allocations: 1.406 kB / 0.8002 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001286/1.162, allocations: 0.5034 MB / 0.8007 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.162, allocations: 8.062 kB / 0.8007 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.162, allocations: 3.125 kB / 0.8007 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/1.163, allocations: 89.89 kB / 0.8008 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/1.163, allocations: 89.91 kB / 0.8009 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/1.163, allocations: 13.88 kB / 0.8009 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/1.164, allocations: 29.97 kB / 0.8009 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/1.164, allocations: 13.19 kB / 0.8009 GB, free: 134.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * 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.0001273/1.164, allocations: 136.4 kB / 0.801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/1.164, allocations: 42.77 kB / 0.8011 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/1.165, allocations: 427.8 kB / 0.8015 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.165, allocations: 7.234 kB / 0.8015 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.165, allocations: 1.156 kB / 0.8015 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.165, allocations: 7.938 kB / 0.8015 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/1.167, allocations: 0.9488 MB / 0.8024 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.167, allocations: 4.969 kB / 0.8024 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/1.168, allocations: 45.97 kB / 0.8025 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004098/1.168, allocations: 85.84 kB / 0.8026 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/1.168, allocations: 14.41 kB / 0.8026 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/1.168, allocations: 1.281 kB / 0.8026 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.168, allocations: 2.062 kB / 0.8026 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.169, allocations: 0.551 MB / 0.8031 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/1.17, allocations: 134.7 kB / 0.8032 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/1.17, allocations: 10.95 kB / 0.8033 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/1.17, allocations: 24.91 kB / 0.8033 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/1.17, allocations: 23.03 kB / 0.8033 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/1.17, allocations: 10.34 kB / 0.8033 GB, free: 133 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003163/1.171, allocations: 224 kB / 0.8035 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.171, allocations: 0 / 0.8035 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005983/1.171, allocations: 102 kB / 0.8036 GB, free: 132.8 MB / 0.6511 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 () * 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.001382/1.173, allocations: 1.308 MB / 0.8049 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009913/1.174, allocations: 0.5968 MB / 0.8055 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.174, allocations: 0 / 0.8055 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004772/1.174, allocations: 421.8 kB / 0.8059 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009574/1.175, allocations: 110 kB / 0.806 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/1.177, allocations: 0.6036 MB / 0.8066 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/1.177, allocations: 0.8319 MB / 0.8074 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003902/1.177, allocations: 86.61 kB / 0.8075 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.178, allocations: 129.2 kB / 0.8076 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of SimCode: time 8.81e-07/1.178, allocations: 0 / 0.8076 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/1.215, allocations: 7.778 MB / 0.8152 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/1.215, allocations: 197.5 kB / 0.8154 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.66, allocations: 64 / 0.8154 GB, free: 123.3 MB / 0.6511 GB