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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.221/4.221, allocations: 433.2 MB / 440.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.263e-05, allocations: 3.812 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 98.74 MB / 0.6289 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2612/0.4734, allocations: 140 MB / 0.7656 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/0.4738, allocations: 91.94 kB / 0.7657 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6591/1.133, allocations: 20.22 MB / 0.7855 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.603e-06/1.133, allocations: 1.969 kB / 0.7855 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.142e-05/1.133, allocations: 14.17 kB / 0.7855 GB, free: 141.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.001323/1.134, allocations: 0.6431 MB / 0.7861 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.134, allocations: 9.969 kB / 0.7861 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/1.136, allocations: 136 kB / 0.7863 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/1.137, allocations: 367.6 kB / 0.7866 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/1.137, allocations: 13.34 kB / 0.7866 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.641e-05/1.137, allocations: 24.25 kB / 0.7866 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008144/1.138, allocations: 282 kB / 0.7869 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/1.139, allocations: 0.5312 MB / 0.7874 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/1.139, allocations: 7.594 kB / 0.7874 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/1.139, allocations: 3.344 kB / 0.7874 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.121e-05/1.139, allocations: 31.06 kB / 0.7875 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/1.143, allocations: 3.281 MB / 0.7907 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008857/1.144, allocations: 315.8 kB / 0.791 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/1.144, allocations: 156 kB / 0.7911 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/1.144, allocations: 6.906 kB / 0.7911 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/1.144, allocations: 39.64 kB / 0.7912 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 3.016e-06/1.144, allocations: 0 / 0.7912 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.001742/1.146, allocations: 0.5588 MB / 0.7917 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/1.146, allocations: 61.22 kB / 0.7918 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/1.147, allocations: 253.7 kB / 0.792 GB, free: 137 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/1.147, allocations: 29.7 kB / 0.792 GB, free: 137 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/1.147, allocations: 241.6 kB / 0.7923 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/1.147, allocations: 86.56 kB / 0.7924 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/1.147, allocations: 0 / 0.7924 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/1.147, allocations: 344.8 kB / 0.7927 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/1.147, allocations: 126.4 kB / 0.7928 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/1.148, allocations: 248.6 kB / 0.793 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/1.148, allocations: 163.7 kB / 0.7932 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.148, allocations: 1.469 kB / 0.7932 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001251/1.149, allocations: 473.8 kB / 0.7937 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.149, allocations: 7.344 kB / 0.7937 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.149, allocations: 7.688 kB / 0.7937 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/1.15, allocations: 85.42 kB / 0.7937 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/1.151, allocations: 87.55 kB / 0.7938 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.151, allocations: 6.219 kB / 0.7938 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/1.151, allocations: 29.08 kB / 0.7939 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/1.151, allocations: 16.81 kB / 0.7939 GB, free: 136.2 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.0001367/1.151, allocations: 117 kB / 0.794 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001027/1.152, allocations: 379.5 kB / 0.7944 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/1.152, allocations: 34.34 kB / 0.7944 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/1.154, allocations: 414.8 kB / 0.7948 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.154, allocations: 2.906 kB / 0.7948 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.154, allocations: 1.281 kB / 0.7948 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.154, allocations: 3.609 kB / 0.7948 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/1.156, allocations: 0.8594 MB / 0.7956 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/1.156, allocations: 5.281 kB / 0.7956 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/1.156, allocations: 51.83 kB / 0.7957 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/1.157, allocations: 87.59 kB / 0.7958 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/1.157, allocations: 8.609 kB / 0.7958 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.157, allocations: 1.375 kB / 0.7958 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.157, allocations: 5.875 kB / 0.7958 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.158, allocations: 0.5318 MB / 0.7963 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/1.158, allocations: 135.7 kB / 0.7964 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/1.158, allocations: 5.391 kB / 0.7964 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/1.159, allocations: 19.38 kB / 0.7965 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.159, allocations: 23.59 kB / 0.7965 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/1.159, allocations: 7.688 kB / 0.7965 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002669/1.159, allocations: 194.8 kB / 0.7967 GB, free: 135 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.159, allocations: 4 kB / 0.7967 GB, free: 135 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006636/1.16, allocations: 87.09 kB / 0.7968 GB, free: 135 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.001385/1.161, allocations: 1.276 MB / 0.798 GB, free: 134 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.162, allocations: 0.5771 MB / 0.7986 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.162, allocations: 4.062 kB / 0.7986 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005301/1.163, allocations: 417.3 kB / 0.799 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.164, allocations: 101.5 kB / 0.7991 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/1.166, allocations: 0.5748 MB / 0.7996 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/1.166, allocations: 0.8367 MB / 0.8004 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005131/1.167, allocations: 79.52 kB / 0.8005 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/1.167, allocations: 122.2 kB / 0.8006 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/1.167, allocations: 0 / 0.8006 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05245/1.219, allocations: 6.958 MB / 0.8074 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/1.22, allocations: 153.6 kB / 0.8076 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/3.729, allocations: 7.812 kB / 0.8076 GB, free: 131.4 MB / 0.6511 GB