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.01227/0.01228, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001126/0.001126, allocations: 183.8 kB / 15.94 MB, free: 5.93 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 1.967/1.967, allocations: 194.5 MB / 211.2 MB, free: 11.05 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.133/2.133, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007784/0.0007787, allocations: 8 kB / 0.5869 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7116/0.7124, allocations: 98.71 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.9358, allocations: 140.4 MB / 0.8204 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.9362, allocations: 91.94 kB / 0.8205 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1071/1.043, allocations: 29.62 MB / 0.8494 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.395e-06/1.043, allocations: 4 kB / 0.8495 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.236e-05/1.043, allocations: 12 kB / 0.8495 GB, free: 3.809 MB / 0.6667 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.00163/1.045, allocations: 0.8566 MB / 0.8503 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.045, allocations: 8.031 kB / 0.8503 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/1.047, allocations: 206.8 kB / 0.8505 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/1.048, allocations: 492.3 kB / 0.851 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/1.048, allocations: 36.92 kB / 0.851 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.048, allocations: 40 kB / 0.851 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/1.05, allocations: 0.9261 MB / 0.852 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/1.05, allocations: 7.938 kB / 0.852 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.322e-05/1.05, allocations: 23.98 kB / 0.852 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/1.05, allocations: 56.97 kB / 0.852 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.051, allocations: 0.5577 MB / 0.8526 GB, free: 352 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00624/1.057, allocations: 5.67 MB / 0.8581 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/1.058, allocations: 454.3 kB / 0.8585 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/1.058, allocations: 4 kB / 0.8586 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/1.058, allocations: 42.52 kB / 0.8586 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 6.135e-06/1.058, allocations: 4 kB / 0.8586 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.003359/1.062, allocations: 1.49 MB / 0.8601 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/1.062, allocations: 55.41 kB / 0.8601 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/1.063, allocations: 442 kB / 0.8605 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/1.063, allocations: 33.7 kB / 0.8606 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/1.063, allocations: 339.1 kB / 0.8609 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/1.063, allocations: 118.3 kB / 0.861 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/1.063, allocations: 12 kB / 0.861 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.063, allocations: 366.7 kB / 0.8614 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/1.064, allocations: 185 kB / 0.8615 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/1.064, allocations: 409.8 kB / 0.8619 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/1.065, allocations: 260 kB / 0.8622 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.348e-06/1.065, allocations: 4 kB / 0.8622 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001776/1.067, allocations: 0.7667 MB / 0.8629 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/1.067, allocations: 8 kB / 0.8629 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.067, allocations: 8 kB / 0.8629 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/1.067, allocations: 148.2 kB / 0.8631 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/1.068, allocations: 119.8 kB / 0.8632 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/1.072, allocations: 4.07 MB / 0.8672 GB, free: 300 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/1.073, allocations: 31.97 kB / 0.8672 GB, free: 268 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/1.073, allocations: 24.25 kB / 0.8672 GB, free: 244 kB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * 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.0003962/1.073, allocations: 209.6 kB / 0.8674 GB, free: 24 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/1.074, allocations: 63.3 kB / 0.8675 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/1.075, allocations: 0.597 MB / 0.8681 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.595e-06/1.075, allocations: 4 kB / 0.8681 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.075, allocations: 7.953 kB / 0.8681 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.311e-06/1.075, allocations: 3.984 kB / 0.8681 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/1.078, allocations: 1.255 MB / 0.8693 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.956e-06/1.078, allocations: 0 / 0.8693 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/1.078, allocations: 55.89 kB / 0.8694 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000561/1.079, allocations: 144.4 kB / 0.8695 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/1.079, allocations: 11.98 kB / 0.8695 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004301/1.083, allocations: 4.052 MB / 0.8735 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.515e-06/1.083, allocations: 4.031 kB / 0.8735 GB, free: 9.301 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/1.085, allocations: 0.7818 MB / 0.8742 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/1.085, allocations: 168.3 kB / 0.8744 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/1.085, allocations: 11.98 kB / 0.8744 GB, free: 8.227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/1.086, allocations: 23.97 kB / 0.8744 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/1.086, allocations: 27.91 kB / 0.8745 GB, free: 8.176 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/1.086, allocations: 12 kB / 0.8745 GB, free: 8.164 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005372/1.086, allocations: 338.7 kB / 0.8748 GB, free: 7.836 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.14e-07/1.086, allocations: 4 kB / 0.8748 GB, free: 7.832 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008964/1.087, allocations: 144 kB / 0.8749 GB, free: 7.691 MB / 0.698 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.0002013/1.087, allocations: 115.1 kB / 0.875 GB, free: 7.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001871/1.089, allocations: 1.017 MB / 0.876 GB, free: 6.473 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.673e-06/1.089, allocations: 12.06 kB / 0.876 GB, free: 6.461 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/1.091, allocations: 0.7231 MB / 0.8768 GB, free: 5.656 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.092, allocations: 187.2 kB / 0.8769 GB, free: 5.477 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/1.094, allocations: 1.223 MB / 0.8781 GB, free: 4.207 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/1.095, allocations: 0.918 MB / 0.879 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005259/1.095, allocations: 109.2 kB / 0.8791 GB, free: 3.152 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/1.095, allocations: 43.44 kB / 0.8792 GB, free: 3.109 MB / 0.698 GB Notification: Performance of SimCode: time 1.768e-06/1.095, allocations: 0 / 0.8792 GB, free: 3.109 MB / 0.698 GB Notification: Performance of Templates: time 0.02696/1.122, allocations: 7.044 MB / 0.886 GB, free: 12.13 MB / 0.7136 GB