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 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.TestImpedance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.104/4.104, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.276e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.6158, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2874/0.9033, allocations: 139.6 MB / 0.7653 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/0.9037, allocations: 95.94 kB / 0.7653 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1214/1.025, allocations: 29.32 MB / 0.794 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.114e-06/1.025, allocations: 0 / 0.794 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.555e-05/1.025, allocations: 16 kB / 0.794 GB, free: 6.156 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.001906/1.027, allocations: 0.7829 MB / 0.7948 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.027, allocations: 8.031 kB / 0.7948 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/1.029, allocations: 199 kB / 0.795 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/1.031, allocations: 482.5 kB / 0.7954 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/1.031, allocations: 16 kB / 0.7954 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/1.031, allocations: 31.91 kB / 0.7955 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00119/1.032, allocations: 418.4 kB / 0.7959 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/1.034, allocations: 0.8593 MB / 0.7967 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/1.034, allocations: 7.938 kB / 0.7967 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/1.034, allocations: 4 kB / 0.7967 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/1.034, allocations: 52.73 kB / 0.7968 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5933/1.628, allocations: 5.535 MB / 0.8022 GB, free: 149.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/1.629, allocations: 433.8 kB / 0.8026 GB, free: 149.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005618/1.63, allocations: 217.4 kB / 0.8028 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/1.63, allocations: 2.812 kB / 0.8028 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.63, allocations: 37.27 kB / 0.8028 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=32): time 2.916e-06/1.63, allocations: 4.219 kB / 0.8028 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.002656/1.633, allocations: 0.8002 MB / 0.8036 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/1.633, allocations: 54.95 kB / 0.8037 GB, free: 149 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/1.634, allocations: 349 kB / 0.804 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/1.634, allocations: 25.7 kB / 0.804 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/1.634, allocations: 357.6 kB / 0.8044 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.634, allocations: 115.6 kB / 0.8045 GB, free: 148.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/1.634, allocations: 0 / 0.8045 GB, free: 148.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.634, allocations: 356.1 kB / 0.8048 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/1.635, allocations: 173.9 kB / 0.805 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/1.635, allocations: 396.4 kB / 0.8054 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/1.636, allocations: 233.8 kB / 0.8056 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/1.636, allocations: 4.594 kB / 0.8056 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001894/1.638, allocations: 0.6965 MB / 0.8063 GB, free: 148 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.638, allocations: 8.562 kB / 0.8063 GB, free: 148 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.638, allocations: 7.594 kB / 0.8063 GB, free: 148 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007532/1.639, allocations: 146.3 kB / 0.8064 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/1.64, allocations: 114.2 kB / 0.8065 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/1.643, allocations: 3.88 MB / 0.8103 GB, free: 144.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/1.644, allocations: 21.61 kB / 0.8103 GB, free: 144.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/1.644, allocations: 33.75 kB / 0.8104 GB, free: 144.4 MB / 0.6667 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 () * 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.0001679/1.644, allocations: 126.1 kB / 0.8105 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001622/1.646, allocations: 0.5174 MB / 0.811 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/1.646, allocations: 55.83 kB / 0.811 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/1.647, allocations: 0.5587 MB / 0.8116 GB, free: 144 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.648, allocations: 7.5 kB / 0.8116 GB, free: 144 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.648, allocations: 2.219 kB / 0.8116 GB, free: 144 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.648, allocations: 1.875 kB / 0.8116 GB, free: 144 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/1.65, allocations: 1.149 MB / 0.8127 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.651, allocations: 2.688 kB / 0.8127 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/1.651, allocations: 57.28 kB / 0.8128 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006847/1.652, allocations: 144.8 kB / 0.8129 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/1.652, allocations: 3.75 kB / 0.8129 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003319/1.655, allocations: 3.859 MB / 0.8167 GB, free: 140 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/1.655, allocations: 5.469 kB / 0.8167 GB, free: 140 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/1.657, allocations: 0.7511 MB / 0.8174 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/1.657, allocations: 167.3 kB / 0.8176 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/1.657, allocations: 3.438 kB / 0.8176 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/1.658, allocations: 17.89 kB / 0.8176 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.658, allocations: 35.08 kB / 0.8176 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/1.658, allocations: 8.156 kB / 0.8177 GB, free: 139.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004011/1.658, allocations: 264.2 kB / 0.8179 GB, free: 139.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.2e-07/1.658, allocations: 1.406 kB / 0.8179 GB, free: 139.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009935/1.659, allocations: 128.4 kB / 0.818 GB, free: 139.4 MB / 0.6667 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 () * 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.001807/1.661, allocations: 1.783 MB / 0.8198 GB, free: 138.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001883/1.663, allocations: 0.953 MB / 0.8207 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.663, allocations: 0 / 0.8207 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/1.664, allocations: 0.7113 MB / 0.8214 GB, free: 137 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.666, allocations: 160.7 kB / 0.8216 GB, free: 137 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/1.669, allocations: 0.8368 MB / 0.8224 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/1.669, allocations: 0.9153 MB / 0.8233 GB, free: 136 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006651/1.67, allocations: 112.4 kB / 0.8234 GB, free: 136 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/1.67, allocations: 194.1 kB / 0.8236 GB, free: 136 MB / 0.6667 GB Notification: Performance of SimCode: time 1.132e-06/1.67, allocations: 0 / 0.8236 GB, free: 136 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/1.729, allocations: 10.62 MB / 0.8339 GB, free: 135.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.729, allocations: 152.4 kB / 0.8341 GB, free: 135.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/4.521, allocations: 3.938 kB / 0.8341 GB, free: 135.2 MB / 0.6667 GB