Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.315/4.315, allocations: 433.4 MB / 440.9 MB, free: 4.508 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.056e-05, allocations: 4.312 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1754, allocations: 98.73 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7009/0.8764, allocations: 167.7 MB / 0.7927 GB, free: 62.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.8768, allocations: 95.17 kB / 0.7928 GB, free: 62.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09966/0.9764, allocations: 28.45 MB / 0.8206 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.079e-06/0.9765, allocations: 0 / 0.8206 GB, free: 59.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.843e-05/0.9765, allocations: 11.81 kB / 0.8206 GB, free: 59.6 MB / 0.6511 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.001144/0.9777, allocations: 0.6825 MB / 0.8212 GB, free: 59.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.9778, allocations: 15.73 kB / 0.8212 GB, free: 59.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.981, allocations: 0.5727 MB / 0.8218 GB, free: 59.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009943/0.982, allocations: 469 kB / 0.8223 GB, free: 58.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.9821, allocations: 11.72 kB / 0.8223 GB, free: 58.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.9822, allocations: 15.72 kB / 0.8223 GB, free: 58.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000962/0.9831, allocations: 465.2 kB / 0.8227 GB, free: 58.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009611/0.9841, allocations: 0.544 MB / 0.8233 GB, free: 58.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.9842, allocations: 3.906 kB / 0.8233 GB, free: 58.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.9842, allocations: 3.906 kB / 0.8233 GB, free: 58.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.9843, allocations: 31.81 kB / 0.8233 GB, free: 58.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005757/0.9901, allocations: 2.778 MB / 0.826 GB, free: 57.08 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008744/0.991, allocations: 348.7 kB / 0.8263 GB, free: 57.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.9913, allocations: 165.1 kB / 0.8265 GB, free: 57.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.9914, allocations: 88.94 kB / 0.8266 GB, free: 56.94 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.9914, allocations: 34.47 kB / 0.8266 GB, free: 56.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 3.278e-06/0.9915, allocations: 0 / 0.8266 GB, free: 56.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.00534/0.9968, allocations: 1.528 MB / 0.8281 GB, free: 56.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.9969, allocations: 84.48 kB / 0.8282 GB, free: 56.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.9974, allocations: 321.3 kB / 0.8285 GB, free: 56.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.9975, allocations: 25.7 kB / 0.8285 GB, free: 56.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.9976, allocations: 248 kB / 0.8288 GB, free: 56.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.9977, allocations: 76.05 kB / 0.8288 GB, free: 56.31 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.9977, allocations: 3.906 kB / 0.8288 GB, free: 56.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.9978, allocations: 345.5 kB / 0.8292 GB, free: 56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.9982, allocations: 238.3 kB / 0.8294 GB, free: 56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.9987, allocations: 316.9 kB / 0.8297 GB, free: 55.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.9994, allocations: 292.3 kB / 0.83 GB, free: 55.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.9994, allocations: 0 / 0.83 GB, free: 55.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003506/1.003, allocations: 1.059 MB / 0.831 GB, free: 55.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/1.003, allocations: 0.7962 MB / 0.8318 GB, free: 54.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.947e-06/1.003, allocations: 1.828 kB / 0.8318 GB, free: 54.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/1.006, allocations: 483.6 kB / 0.8322 GB, free: 54.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/1.006, allocations: 132.4 kB / 0.8324 GB, free: 54.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/1.011, allocations: 3.011 MB / 0.8353 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009954/1.012, allocations: 112.2 kB / 0.8354 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/1.012, allocations: 19 kB / 0.8354 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.012, allocations: 3.938 kB / 0.8354 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/1.013, allocations: 458.4 kB / 0.8359 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.515e-06/1.013, allocations: 0 / 0.8359 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.66e-06/1.013, allocations: 3.906 kB / 0.8359 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/1.014, allocations: 160 kB / 0.836 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.014, allocations: 3.938 kB / 0.836 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007832/1.015, allocations: 92.72 kB / 0.8361 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/1.015, allocations: 15.7 kB / 0.8361 GB, free: 53.17 MB / 0.6511 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 () * 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.0001712/1.015, allocations: 120.6 kB / 0.8363 GB, free: 53.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.015, allocations: 31.34 kB / 0.8363 GB, free: 53.04 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/1.019, allocations: 1.106 MB / 0.8374 GB, free: 52.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.798e-06/1.019, allocations: 3.906 kB / 0.8374 GB, free: 52.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-06/1.019, allocations: 0 / 0.8374 GB, free: 52.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.019, allocations: 0 / 0.8374 GB, free: 52.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004601/1.023, allocations: 1.73 MB / 0.8391 GB, free: 52.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.637e-06/1.023, allocations: 0 / 0.8391 GB, free: 52.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/1.024, allocations: 79.69 kB / 0.8391 GB, free: 52.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003103/1.027, allocations: 0.6198 MB / 0.8397 GB, free: 52.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.959e-05/1.027, allocations: 7.609 kB / 0.8397 GB, free: 52.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005863/1.033, allocations: 4.207 MB / 0.8439 GB, free: 49.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.141e-06/1.033, allocations: 3.938 kB / 0.8439 GB, free: 49.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/1.037, allocations: 1.166 MB / 0.845 GB, free: 49.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/1.037, allocations: 169.5 kB / 0.8452 GB, free: 48.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/1.037, allocations: 0 / 0.8452 GB, free: 48.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/1.038, allocations: 106.6 kB / 0.8453 GB, free: 48.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.038, allocations: 31.09 kB / 0.8453 GB, free: 48.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/1.038, allocations: 11.8 kB / 0.8453 GB, free: 48.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003861/1.039, allocations: 263.7 kB / 0.8456 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.18e-07/1.039, allocations: 0 / 0.8456 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001063/1.04, allocations: 188 kB / 0.8457 GB, free: 48.81 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0002921/1.04, allocations: 168.8 kB / 0.8459 GB, free: 48.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001994/1.042, allocations: 0.9613 MB / 0.8468 GB, free: 48.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.415e-06/1.042, allocations: 4.125 kB / 0.8468 GB, free: 48.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.043, allocations: 0.5585 MB / 0.8474 GB, free: 48.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/1.044, allocations: 105.8 kB / 0.8475 GB, free: 48.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/1.046, allocations: 0.7323 MB / 0.8482 GB, free: 47.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/1.046, allocations: 0.9231 MB / 0.8491 GB, free: 47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001003/1.047, allocations: 212.5 kB / 0.8493 GB, free: 46.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/1.047, allocations: 30.89 kB / 0.8493 GB, free: 46.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.827e-06/1.047, allocations: 4 kB / 0.8493 GB, free: 46.89 MB / 0.6511 GB Notification: Performance of Templates: time 0.02028/1.068, allocations: 10.16 MB / 0.8592 GB, free: 41.87 MB / 0.6511 GB