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.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004151/0.004151, allocations: 234.9 kB / 15.8 MB, free: 6.281 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.00112/0.00112, allocations: 184.2 kB / 16.69 MB, free: 5.449 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.858/3.858, allocations: 389.1 MB / 406.5 MB, free: 6.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.781/4.781, allocations: 472.3 MB / 0.9023 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007503/0.0007505, allocations: 12 kB / 1.008 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.294, allocations: 98.7 MB / 1.105 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.01031/0.3043, allocations: 3.849 MB / 1.108 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007462/0.3119, allocations: 2.987 MB / 1.111 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003819/0.3123, allocations: 15.94 kB / 1.111 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0006918/0.313, allocations: 139.1 kB / 1.111 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.3142, allocations: 314.2 kB / 1.112 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000789/0.315, allocations: 163.5 kB / 1.112 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.3162, allocations: 0.6579 MB / 1.113 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.318, allocations: 0.7458 MB / 1.113 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.3185, allocations: 179.2 kB / 1.113 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005631/0.319, allocations: 235.1 kB / 1.114 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.3191, allocations: 19.94 kB / 1.114 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009117/0.32, allocations: 235.6 kB / 1.114 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.3203, allocations: 139.6 kB / 1.114 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.3205, allocations: 105.5 kB / 1.114 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3216, allocations: 0.6627 MB / 1.115 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3217, allocations: 0 / 1.115 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3217, allocations: 0 / 1.115 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.3217, allocations: 0 / 1.115 GB, free: 9.363 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001919/0.3236, allocations: 0.7245 MB / 1.115 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3237, allocations: 12.03 kB / 1.115 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/0.329, allocations: 0.7014 MB / 1.116 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.3304, allocations: 474.6 kB / 1.117 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.3305, allocations: 20.66 kB / 1.117 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.3306, allocations: 31.98 kB / 1.117 GB, free: 7.32 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/0.3334, allocations: 0.7865 MB / 1.117 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.3335, allocations: 4 kB / 1.117 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/0.3336, allocations: 19.94 kB / 1.117 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.3338, allocations: 52.59 kB / 1.118 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/0.3378, allocations: 0.8804 MB / 1.118 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006975/0.3448, allocations: 2.851 MB / 1.121 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.348, allocations: 0.5214 MB / 1.122 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.3493, allocations: 268.6 kB / 1.122 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.3495, allocations: 85.09 kB / 1.122 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3496, allocations: 34.56 kB / 1.122 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 3.627e-06/0.3496, allocations: 0 / 1.122 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.0222/0.3718, allocations: 3.221 MB / 1.125 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.3719, allocations: 85.05 kB / 1.125 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008269/0.3728, allocations: 413.6 kB / 1.126 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.3729, allocations: 29.7 kB / 1.126 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.3732, allocations: 243.7 kB / 1.126 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.3733, allocations: 82.89 kB / 1.126 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.3734, allocations: 4 kB / 1.126 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3736, allocations: 350.8 kB / 1.126 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.3754, allocations: 359.7 kB / 1.127 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.3772, allocations: 441.3 kB / 1.127 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.3791, allocations: 396.8 kB / 1.127 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3791, allocations: 0 / 1.127 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.009706/0.3889, allocations: 1.537 MB / 1.129 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.3891, allocations: 148.1 kB / 1.129 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.3891, allocations: 11.94 kB / 1.129 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007389/0.3965, allocations: 0.852 MB / 1.13 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.3977, allocations: 135.8 kB / 1.13 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.4096, allocations: 4.65 MB / 1.135 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.4111, allocations: 115.8 kB / 1.135 GB, free: 4.078 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.4112, allocations: 19.98 kB / 1.135 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.4113, allocations: 3.938 kB / 1.135 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007938/0.4192, allocations: 1.253 MB / 1.136 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4193, allocations: 0 / 1.136 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004883/0.4242, allocations: 0.5665 MB / 1.137 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4255, allocations: 139.8 kB / 1.137 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006306/0.4318, allocations: 2.514 MB / 1.139 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4332, allocations: 115.9 kB / 1.139 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.4333, allocations: 15.98 kB / 1.139 GB, free: 15.31 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005722/0.4339, allocations: 324.9 kB / 1.14 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.434, allocations: 39.47 kB / 1.14 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008628/0.4427, allocations: 1.417 MB / 1.141 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.4428, allocations: 4 kB / 1.141 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4428, allocations: 0 / 1.141 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.4432, allocations: 176.6 kB / 1.141 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.4434, allocations: 11.94 kB / 1.141 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.4445, allocations: 87.86 kB / 1.141 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.4446, allocations: 27.95 kB / 1.141 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006566/0.4512, allocations: 1.257 MB / 1.143 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004362/0.4556, allocations: 1.183 MB / 1.144 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001355/0.457, allocations: 335.7 kB / 1.144 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0006009/0.4577, allocations: 307.1 kB / 1.144 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of Backend: time 3.126e-06/0.4577, allocations: 0 / 1.144 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006284/0.464, allocations: 1.528 MB / 1.146 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of SimCode: time 0.00315/0.4672, allocations: 1.575 MB / 1.147 GB, free: 6.914 MB / 0.7917 GB Notification: Performance of Templates: time 0.03781/0.505, allocations: 14.57 MB / 1.162 GB, free: 8.426 MB / 0.8073 GB