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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01071/0.01071, allocations: 221.9 kB / 15.17 MB, free: 6 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.001143/0.001143, allocations: 180.9 kB / 16.06 MB, free: 5.871 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 3.992/3.992, allocations: 389.1 MB / 405.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.106/4.106, allocations: 472.3 MB / 0.9018 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004944, allocations: 16 kB / 1.008 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6012/0.6018, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005407/0.6072, allocations: 4.255 MB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004151/0.6114, allocations: 2.314 MB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006103/0.6121, allocations: 20.66 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.6123, allocations: 74.22 kB / 1.111 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.6135, allocations: 365.8 kB / 1.111 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009578/0.6145, allocations: 284.8 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.6157, allocations: 0.9639 MB / 1.112 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008392/0.6166, allocations: 425.8 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.6171, allocations: 276.6 kB / 1.113 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.6176, allocations: 327.8 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.6176, allocations: 19.78 kB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006068/0.6183, allocations: 192.7 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.6185, allocations: 158.2 kB / 1.113 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.6187, allocations: 142.6 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008493/0.6195, allocations: 0.6363 MB / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.938e-06/0.6195, allocations: 0 / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.021e-06/0.6196, allocations: 0 / 1.114 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.6196, allocations: 0 / 1.114 GB, free: 206.9 MB / 0.7292 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.001283/0.6209, allocations: 0.8417 MB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6209, allocations: 8.812 kB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.6225, allocations: 217.8 kB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008576/0.6234, allocations: 477.6 kB / 1.116 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.6235, allocations: 29.94 kB / 1.116 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.645e-05/0.6236, allocations: 49.16 kB / 1.116 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.6248, allocations: 0.8399 MB / 1.117 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.6249, allocations: 10.88 kB / 1.117 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.625, allocations: 24.08 kB / 1.117 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.6251, allocations: 75.14 kB / 1.117 GB, free: 205.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.6262, allocations: 0.5569 MB / 1.117 GB, free: 205 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/0.6306, allocations: 5.644 MB / 1.123 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000852/0.6315, allocations: 460.3 kB / 1.123 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.632, allocations: 231 kB / 1.123 GB, free: 199.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.632, allocations: 6.688 kB / 1.123 GB, free: 199.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.632, allocations: 36.72 kB / 1.123 GB, free: 199.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 3.038e-06/0.632, allocations: 0 / 1.123 GB, free: 199.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.003055/0.6351, allocations: 1.502 MB / 1.125 GB, free: 198.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.6352, allocations: 55.05 kB / 1.125 GB, free: 198.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006532/0.6358, allocations: 495.6 kB / 1.125 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.6359, allocations: 31.2 kB / 1.125 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.6361, allocations: 353.3 kB / 1.126 GB, free: 198.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.6362, allocations: 117 kB / 1.126 GB, free: 198 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.6363, allocations: 14.22 kB / 1.126 GB, free: 198 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6364, allocations: 364.7 kB / 1.126 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.6368, allocations: 194.5 kB / 1.126 GB, free: 197.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.6373, allocations: 449.6 kB / 1.127 GB, free: 197.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.6378, allocations: 263.6 kB / 1.127 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.9e-06/0.6378, allocations: 2.031 kB / 1.127 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001723/0.6396, allocations: 0.8032 MB / 1.128 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.6396, allocations: 9.281 kB / 1.128 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.6396, allocations: 8.25 kB / 1.128 GB, free: 196.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.6402, allocations: 159.8 kB / 1.128 GB, free: 196.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.6408, allocations: 122 kB / 1.128 GB, free: 196.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.644, allocations: 4.041 MB / 1.132 GB, free: 192.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.6446, allocations: 33.56 kB / 1.132 GB, free: 192.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.6447, allocations: 27.47 kB / 1.132 GB, free: 192.7 MB / 0.7292 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.0003281/0.6451, allocations: 219.2 kB / 1.132 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.6452, allocations: 65.28 kB / 1.132 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.6465, allocations: 0.5986 MB / 1.133 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.345e-06/0.6465, allocations: 3.922 kB / 1.133 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.685e-06/0.6465, allocations: 1.844 kB / 1.133 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.716e-06/0.6465, allocations: 2.594 kB / 1.133 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.6488, allocations: 1.256 MB / 1.134 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.949e-06/0.6489, allocations: 2.25 kB / 1.134 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.6492, allocations: 57.52 kB / 1.134 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000538/0.6498, allocations: 143.3 kB / 1.135 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.6498, allocations: 7.406 kB / 1.135 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.6528, allocations: 4.022 MB / 1.138 GB, free: 187.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.847e-06/0.6528, allocations: 4.281 kB / 1.138 GB, free: 187.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.6541, allocations: 0.707 MB / 1.139 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.6544, allocations: 170.1 kB / 1.139 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/0.6545, allocations: 10.77 kB / 1.139 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.6549, allocations: 24.81 kB / 1.139 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.655, allocations: 31.81 kB / 1.139 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.6551, allocations: 12.78 kB / 1.139 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004664/0.6555, allocations: 328.6 kB / 1.14 GB, free: 186.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.93e-07/0.6555, allocations: 0 / 1.14 GB, free: 186.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009021/0.6565, allocations: 146.6 kB / 1.14 GB, free: 186.8 MB / 0.7292 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.0001577/0.6566, allocations: 118 kB / 1.14 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.6583, allocations: 1.029 MB / 1.141 GB, free: 186 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.383e-06/0.6583, allocations: 4.344 kB / 1.141 GB, free: 186 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6594, allocations: 0.7336 MB / 1.142 GB, free: 185.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.6606, allocations: 179.7 kB / 1.142 GB, free: 185.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.6626, allocations: 1.218 MB / 1.143 GB, free: 184.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.6631, allocations: 0.9182 MB / 1.144 GB, free: 183.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004961/0.6636, allocations: 119.3 kB / 1.144 GB, free: 183.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.6637, allocations: 42.2 kB / 1.144 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.626e-06/0.6637, allocations: 3.469 kB / 1.144 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.01995/0.6837, allocations: 7.03 MB / 1.151 GB, free: 183.7 MB / 0.7292 GB