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.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009487/0.009487, 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.00113/0.00113, allocations: 179.3 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.91/1.91, allocations: 194.6 MB / 211.3 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.476/2.476, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004863, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6126/0.6131, allocations: 98.72 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/0.8277, allocations: 140.8 MB / 0.8208 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.828, allocations: 95.88 kB / 0.8209 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08247/0.9105, allocations: 20.43 MB / 0.8409 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.72e-06/0.9106, allocations: 0 / 0.8409 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.503e-05/0.9106, allocations: 12 kB / 0.8409 GB, free: 12.72 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00128/0.9119, allocations: 0.6971 MB / 0.8415 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.912, allocations: 8.031 kB / 0.8416 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.9131, allocations: 135.2 kB / 0.8417 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/0.9138, allocations: 382.5 kB / 0.842 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.9139, allocations: 20.66 kB / 0.8421 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/0.914, allocations: 31.98 kB / 0.8421 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.9151, allocations: 0.6012 MB / 0.8427 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.9151, allocations: 3.938 kB / 0.8427 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.9152, allocations: 20 kB / 0.8427 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.277e-05/0.9153, allocations: 36.53 kB / 0.8427 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009949/0.9163, allocations: 413.7 kB / 0.8431 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00392/0.9202, allocations: 3.368 MB / 0.8464 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008683/0.9211, allocations: 342.7 kB / 0.8468 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.9212, allocations: 4 kB / 0.8468 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.9212, allocations: 34.5 kB / 0.8468 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=26): time 3.129e-06/0.9212, allocations: 0 / 0.8468 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of matching and sorting (n=27): time 0.002694/0.9239, allocations: 1.084 MB / 0.8478 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.924, allocations: 55.59 kB / 0.8479 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.9244, allocations: 296.8 kB / 0.8482 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.9245, allocations: 29.7 kB / 0.8482 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.9247, allocations: 231.7 kB / 0.8484 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.9248, allocations: 102.6 kB / 0.8485 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.9248, allocations: 12 kB / 0.8485 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.925, allocations: 346.8 kB / 0.8489 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.9254, allocations: 152.6 kB / 0.849 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.9259, allocations: 272.8 kB / 0.8493 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.9263, allocations: 193.2 kB / 0.8495 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.596e-06/0.9264, allocations: 4 kB / 0.8495 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001355/0.9277, allocations: 0.5446 MB / 0.85 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.9278, allocations: 4.531 kB / 0.85 GB, free: 2.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.9278, allocations: 7.984 kB / 0.85 GB, free: 2.719 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/0.9283, allocations: 94.39 kB / 0.8501 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.9287, allocations: 87.88 kB / 0.8502 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.9288, allocations: 7.938 kB / 0.8502 GB, free: 2.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.9291, allocations: 31.97 kB / 0.8502 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.9292, allocations: 20 kB / 0.8502 GB, free: 2.473 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002791/0.9295, allocations: 170.3 kB / 0.8504 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.9296, allocations: 43.48 kB / 0.8504 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.9308, allocations: 466.2 kB / 0.8509 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.538e-06/0.9308, allocations: 7.938 kB / 0.8509 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.9308, allocations: 4 kB / 0.8509 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.081e-06/0.9308, allocations: 0 / 0.8509 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.9328, allocations: 0.9793 MB / 0.8519 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.9329, allocations: 4 kB / 0.8519 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.9332, allocations: 51.95 kB / 0.8519 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003256/0.9335, allocations: 86.55 kB / 0.852 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.9336, allocations: 4 kB / 0.852 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.027e-06/0.9336, allocations: 4 kB / 0.852 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.529e-06/0.9336, allocations: 0 / 0.852 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.9348, allocations: 0.5968 MB / 0.8526 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.9351, allocations: 136.6 kB / 0.8527 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.9352, allocations: 11.98 kB / 0.8527 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.9355, allocations: 19.97 kB / 0.8527 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.9356, allocations: 23.97 kB / 0.8528 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.9356, allocations: 8 kB / 0.8528 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003569/0.936, allocations: 235.2 kB / 0.853 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.03e-07/0.936, allocations: 0 / 0.853 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006031/0.9366, allocations: 88 kB / 0.8531 GB, free: 15.38 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001873/0.9368, allocations: 123.2 kB / 0.8532 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.938, allocations: 0.6289 MB / 0.8538 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.447e-06/0.938, allocations: 5.062 kB / 0.8538 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.9387, allocations: 433.9 kB / 0.8542 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.9395, allocations: 117.7 kB / 0.8543 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.9411, allocations: 0.8682 MB / 0.8552 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.9417, allocations: 0.8317 MB / 0.856 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003653/0.942, allocations: 83.28 kB / 0.8561 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.9422, allocations: 27.44 kB / 0.8561 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of SimCode: time 2.078e-06/0.9422, allocations: 3.938 kB / 0.8561 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.01323/0.9555, allocations: 4.322 MB / 0.8603 GB, free: 7.797 MB / 0.6823 GB