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.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01557/0.01558, allocations: 106.3 kB / 15.06 MB, free: 5.559 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.001815/0.001815, allocations: 182.3 kB / 15.95 MB, free: 5.523 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 2.038/2.038, allocations: 194.6 MB / 211.3 MB, free: 11.12 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.489/2.489, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004633, allocations: 8 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5427, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003824/0.5466, allocations: 2.841 MB / 0.6861 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003525/0.5501, allocations: 2.029 MB / 0.6881 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.5504, allocations: 3.094 kB / 0.6881 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.5506, allocations: 38.27 kB / 0.6881 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.5511, allocations: 150.1 kB / 0.6883 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008439/0.552, allocations: 225.1 kB / 0.6885 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.5524, allocations: 224.2 kB / 0.6887 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.553, allocations: 321.9 kB / 0.689 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.5532, allocations: 113.9 kB / 0.6891 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.5535, allocations: 120.8 kB / 0.6892 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.5536, allocations: 11.16 kB / 0.6892 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/0.5544, allocations: 249.6 kB / 0.6895 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.5545, allocations: 77.8 kB / 0.6896 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.5546, allocations: 77.92 kB / 0.6896 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0008063/0.5555, allocations: 376 kB / 0.69 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.04e-06/0.5555, allocations: 0 / 0.69 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.179e-06/0.5555, allocations: 0 / 0.69 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.104e-06/0.5555, allocations: 0 / 0.69 GB, free: 12.57 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009198/0.5564, allocations: 0.5618 MB / 0.6905 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5565, allocations: 9.125 kB / 0.6906 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.5577, allocations: 142 kB / 0.6907 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.5581, allocations: 273.7 kB / 0.6909 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.5582, allocations: 14.34 kB / 0.691 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.5582, allocations: 22.27 kB / 0.691 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.5591, allocations: 415.1 kB / 0.6914 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5592, allocations: 0.9688 kB / 0.6914 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.5592, allocations: 7.438 kB / 0.6914 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.472e-05/0.5593, allocations: 37.94 kB / 0.6914 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.5602, allocations: 360.2 kB / 0.6918 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.5631, allocations: 2.065 MB / 0.6938 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/0.5641, allocations: 347.7 kB / 0.6941 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.5642, allocations: 91.48 kB / 0.6942 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.5643, allocations: 41.33 kB / 0.6942 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=22): time 3.305e-06/0.5643, allocations: 0 / 0.6942 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.006543/0.5708, allocations: 1.767 MB / 0.696 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.5709, allocations: 85.19 kB / 0.696 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.5712, allocations: 234.9 kB / 0.6963 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.5713, allocations: 34.86 kB / 0.6963 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.5714, allocations: 178.6 kB / 0.6965 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5715, allocations: 115.6 kB / 0.6966 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.5716, allocations: 10.34 kB / 0.6966 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.5716, allocations: 340.5 kB / 0.6969 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.5722, allocations: 202.3 kB / 0.6971 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.5728, allocations: 313.5 kB / 0.6974 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.5734, allocations: 248.7 kB / 0.6976 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.749e-06/0.5735, allocations: 1.375 kB / 0.6976 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001784/0.5753, allocations: 0.679 MB / 0.6983 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002417/0.5755, allocations: 1.141 MB / 0.6994 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5755, allocations: 2.75 kB / 0.6994 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/0.5762, allocations: 143.4 kB / 0.6996 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.5768, allocations: 102.5 kB / 0.6997 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.5798, allocations: 3.985 MB / 0.7036 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.5803, allocations: 42.33 kB / 0.7036 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.5804, allocations: 20.66 kB / 0.7036 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.5804, allocations: 3.312 kB / 0.7036 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001697/0.5821, allocations: 0.635 MB / 0.7042 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5821, allocations: 6.438 kB / 0.7042 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/0.5827, allocations: 141.3 kB / 0.7044 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.5833, allocations: 100 kB / 0.7045 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005805/0.5839, allocations: 1.108 MB / 0.7056 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.5843, allocations: 41.8 kB / 0.7056 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.5844, allocations: 16.22 kB / 0.7056 GB, free: 0.6719 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002819/0.5847, allocations: 258.8 kB / 0.7059 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5848, allocations: 29.31 kB / 0.7059 GB, free: 428 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.5864, allocations: 0.6303 MB / 0.7065 GB, free: 48 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.5864, allocations: 8.297 kB / 0.7065 GB, free: 44 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-06/0.5865, allocations: 5 kB / 0.7065 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.569e-06/0.5865, allocations: 5.047 kB / 0.7065 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.5897, allocations: 1.232 MB / 0.7077 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.699e-06/0.5898, allocations: 1.781 kB / 0.7077 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.5901, allocations: 68.86 kB / 0.7078 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006639/0.5908, allocations: 155.9 kB / 0.7079 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.5909, allocations: 12.34 kB / 0.708 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.595, allocations: 3.987 MB / 0.7118 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.251e-06/0.5951, allocations: 3.562 kB / 0.7118 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.5969, allocations: 0.8956 MB / 0.7127 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.5972, allocations: 140.6 kB / 0.7129 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.5973, allocations: 8.219 kB / 0.7129 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.5977, allocations: 41.5 kB / 0.7129 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.5979, allocations: 33.94 kB / 0.7129 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.5979, allocations: 8.812 kB / 0.7129 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002432/0.5982, allocations: 174.4 kB / 0.7131 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.02e-07/0.5982, allocations: 0 / 0.7131 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001047/0.5992, allocations: 164.2 kB / 0.7133 GB, free: 10.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002753/0.5995, allocations: 139.9 kB / 0.7134 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002889/0.6024, allocations: 1.224 MB / 0.7146 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.977e-06/0.6025, allocations: 0 / 0.7146 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.6036, allocations: 497.7 kB / 0.7151 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.6044, allocations: 61.19 kB / 0.7151 GB, free: 8.699 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.6062, allocations: 0.8709 MB / 0.716 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.6068, allocations: 0.8162 MB / 0.7168 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005455/0.6074, allocations: 113.5 kB / 0.7169 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.6075, allocations: 27.42 kB / 0.7169 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of SimCode: time 1.516e-06/0.6075, allocations: 0.9688 kB / 0.7169 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of Templates: time 0.01502/0.6226, allocations: 5.475 MB / 0.7223 GB, free: 4.566 MB / 0.5417 GB