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.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01067/0.01067, allocations: 223 kB / 15.17 MB, free: 5.93 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.001369/0.001369, allocations: 181.8 kB / 16.06 MB, free: 5.828 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.875/3.875, allocations: 389.1 MB / 405.9 MB, free: 67.55 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.329/4.329, allocations: 472.3 MB / 0.9018 GB, free: 13.42 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004923, allocations: 12 kB / 1.008 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4938, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003224/0.4971, allocations: 2.822 MB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002748/0.4999, allocations: 1.72 MB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.5002, allocations: 6.5 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.5003, allocations: 35.7 kB / 1.109 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.5009, allocations: 170.2 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.5017, allocations: 222.8 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.5022, allocations: 471.3 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008598/0.503, allocations: 434.6 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.5033, allocations: 139.4 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.5037, allocations: 175.4 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.5037, allocations: 12 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.5041, allocations: 135.7 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.5042, allocations: 107.7 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.5043, allocations: 77.58 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.5047, allocations: 351.9 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.305e-06/0.5047, allocations: 0 / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.736e-06/0.5048, allocations: 3.938 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.479e-06/0.5048, allocations: 3.938 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009182/0.5057, allocations: 0.5311 MB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5058, allocations: 8.531 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009337/0.5067, allocations: 105.3 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.5071, allocations: 267.3 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.5071, allocations: 17.92 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.5073, allocations: 39.88 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.508, allocations: 440.8 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.508, allocations: 0 / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.5081, allocations: 19.94 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.5082, allocations: 40.19 kB / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.5089, allocations: 349.9 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.5113, allocations: 2.202 MB / 1.115 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.5119, allocations: 276.4 kB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.5121, allocations: 161.1 kB / 1.115 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.5122, allocations: 4.188 kB / 1.115 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.5122, allocations: 39.64 kB / 1.115 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.007e-06/0.5122, allocations: 0 / 1.115 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001935/0.5142, allocations: 1.047 MB / 1.116 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.5142, allocations: 55.41 kB / 1.116 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.5145, allocations: 248.9 kB / 1.116 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.5145, allocations: 31.83 kB / 1.116 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.5146, allocations: 191.9 kB / 1.117 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.5147, allocations: 82.81 kB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.5147, allocations: 4 kB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.5148, allocations: 334.8 kB / 1.117 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.5151, allocations: 159.8 kB / 1.117 GB, free: 170 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.5154, allocations: 237.2 kB / 1.117 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.5157, allocations: 182.2 kB / 1.118 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5158, allocations: 4 kB / 1.118 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001261/0.517, allocations: 0.5866 MB / 1.118 GB, free: 169 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5171, allocations: 6.844 kB / 1.118 GB, free: 169 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.861e-06/0.5171, allocations: 7.938 kB / 1.118 GB, free: 169 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/0.5179, allocations: 183.1 kB / 1.118 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.5183, allocations: 68.73 kB / 1.118 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.5211, allocations: 2.285 MB / 1.121 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.5216, allocations: 16.02 kB / 1.121 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.5216, allocations: 23.58 kB / 1.121 GB, free: 166.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.5218, allocations: 165.7 kB / 1.121 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.5219, allocations: 27.7 kB / 1.121 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006107/0.5225, allocations: 353.4 kB / 1.121 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.918e-06/0.5225, allocations: 4 kB / 1.121 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-06/0.5226, allocations: 0 / 1.121 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-06/0.5226, allocations: 3.219 kB / 1.121 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.5237, allocations: 0.8159 MB / 1.122 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-06/0.5238, allocations: 1.125 kB / 1.122 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.5243, allocations: 83.06 kB / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.12e-06/0.5243, allocations: 0 / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.5243, allocations: 8 kB / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.422e-06/0.5244, allocations: 0 / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.723e-06/0.5244, allocations: 4 kB / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008441/0.5252, allocations: 0.6168 MB / 1.123 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.5254, allocations: 125.8 kB / 1.123 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.5255, allocations: 12.8 kB / 1.123 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.5257, allocations: 11.98 kB / 1.123 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.5258, allocations: 11.98 kB / 1.123 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.5258, allocations: 12 kB / 1.123 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001882/0.526, allocations: 175.7 kB / 1.123 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.39e-07/0.526, allocations: 0 / 1.123 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005816/0.5266, allocations: 88 kB / 1.123 GB, free: 163.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001578/0.5268, allocations: 122.2 kB / 1.123 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.5278, allocations: 0.5237 MB / 1.124 GB, free: 163 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.711e-06/0.5279, allocations: 7.188 kB / 1.124 GB, free: 163 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.5281, allocations: 143.9 kB / 1.124 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.5287, allocations: 55.91 kB / 1.124 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.5304, allocations: 1.01 MB / 1.125 GB, free: 162 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.5307, allocations: 0.799 MB / 1.126 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002894/0.531, allocations: 72.67 kB / 1.126 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.5311, allocations: 23.44 kB / 1.126 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.944e-06/0.5311, allocations: 2.531 kB / 1.126 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.009328/0.5404, allocations: 3.652 MB / 1.129 GB, free: 157.6 MB / 0.6823 GB