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.004207/0.004207, allocations: 231.7 kB / 15.82 MB, free: 6.301 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.001177/0.001177, allocations: 177.9 kB / 16.71 MB, free: 5.453 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.992/3.992, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.138/4.138, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.0006471, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1804, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8072/0.9876, allocations: 140.4 MB / 1.242 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.988, allocations: 99.3 kB / 1.242 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1045/1.093, allocations: 29.58 MB / 1.271 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.315e-06/1.093, allocations: 0 / 1.271 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.336e-05/1.093, allocations: 16 kB / 1.271 GB, free: 8.297 MB / 0.6355 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.001837/1.095, allocations: 0.858 MB / 1.272 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.095, allocations: 8.031 kB / 1.272 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/1.097, allocations: 209.7 kB / 1.272 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/1.098, allocations: 484.1 kB / 1.272 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/1.098, allocations: 31.12 kB / 1.272 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.098, allocations: 44.61 kB / 1.272 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/1.099, allocations: 0.9294 MB / 1.273 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/1.1, allocations: 11.92 kB / 1.273 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/1.1, allocations: 23.3 kB / 1.273 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/1.1, allocations: 55.91 kB / 1.273 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/1.101, allocations: 0.5664 MB / 1.274 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00666/1.108, allocations: 5.668 MB / 1.279 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.109, allocations: 450.8 kB / 1.28 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/1.109, allocations: 227.5 kB / 1.28 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/1.109, allocations: 4 kB / 1.28 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.11, allocations: 38.52 kB / 1.28 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 2.765e-06/1.11, allocations: 0 / 1.28 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.004186/1.114, allocations: 1.509 MB / 1.282 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/1.114, allocations: 55.41 kB / 1.282 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/1.115, allocations: 493.7 kB / 1.282 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/1.115, allocations: 33.08 kB / 1.282 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/1.115, allocations: 340 kB / 1.282 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.115, allocations: 120.9 kB / 1.283 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/1.115, allocations: 7.438 kB / 1.283 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.115, allocations: 369.3 kB / 1.283 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/1.116, allocations: 185.5 kB / 1.283 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/1.116, allocations: 408.2 kB / 1.283 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/1.117, allocations: 269.9 kB / 1.284 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.117, allocations: 0 / 1.284 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002106/1.119, allocations: 0.7725 MB / 1.284 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.119, allocations: 8 kB / 1.284 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/1.119, allocations: 8 kB / 1.285 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007949/1.12, allocations: 156.9 kB / 1.285 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008002/1.121, allocations: 111.3 kB / 1.285 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/1.125, allocations: 4.032 MB / 1.289 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007191/1.126, allocations: 31.22 kB / 1.289 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/1.126, allocations: 30.94 kB / 1.289 GB, free: 6.816 MB / 0.6511 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.0004229/1.126, allocations: 208 kB / 1.289 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/1.127, allocations: 63.25 kB / 1.289 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/1.128, allocations: 0.5992 MB / 1.29 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.128, allocations: 3.953 kB / 1.29 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.128, allocations: 4 kB / 1.29 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.128, allocations: 3.984 kB / 1.29 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/1.131, allocations: 1.253 MB / 1.291 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.131, allocations: 10.78 kB / 1.291 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/1.132, allocations: 63.31 kB / 1.291 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007002/1.132, allocations: 135.7 kB / 1.291 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/1.132, allocations: 11.12 kB / 1.291 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004154/1.137, allocations: 4.031 MB / 1.295 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.137, allocations: 4.031 kB / 1.295 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/1.138, allocations: 0.7104 MB / 1.296 GB, free: 16 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/1.139, allocations: 169.1 kB / 1.296 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/1.139, allocations: 10.94 kB / 1.296 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/1.139, allocations: 23.16 kB / 1.296 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/1.139, allocations: 28.36 kB / 1.296 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/1.139, allocations: 11.88 kB / 1.296 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00054/1.14, allocations: 330.6 kB / 1.296 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.21e-07/1.14, allocations: 0 / 1.296 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008892/1.141, allocations: 142.8 kB / 1.296 GB, free: 15.39 MB / 0.6667 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.0001871/1.141, allocations: 120.6 kB / 1.296 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002039/1.143, allocations: 1.014 MB / 1.297 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.143, allocations: 0 / 1.297 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/1.144, allocations: 0.7398 MB / 1.298 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/1.146, allocations: 187.4 kB / 1.298 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/1.148, allocations: 1.214 MB / 1.3 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/1.149, allocations: 0.9173 MB / 1.3 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006032/1.15, allocations: 116.2 kB / 1.301 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/1.15, allocations: 43.38 kB / 1.301 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of SimCode: time 1.093e-06/1.15, allocations: 0 / 1.301 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of Templates: time 0.02151/1.171, allocations: 7.054 MB / 1.307 GB, free: 4.535 MB / 0.6667 GB