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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01327/0.01327, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.001137/0.001137, allocations: 182 kB / 15.94 MB, free: 5.898 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 2.031/2.031, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.364/2.364, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006988/0.000699, allocations: 12 kB / 0.587 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6472/0.6479, allocations: 98.72 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/0.8969, allocations: 140.8 MB / 0.8209 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/0.8973, allocations: 91.94 kB / 0.821 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08296/0.9803, allocations: 20.43 MB / 0.8409 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9804, allocations: 0 / 0.8409 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.171e-05/0.9804, allocations: 12 kB / 0.841 GB, free: 12.68 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.001536/0.982, allocations: 0.6934 MB / 0.8416 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.982, allocations: 12.03 kB / 0.8416 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.9822, allocations: 78.45 kB / 0.8417 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.9836, allocations: 143.2 kB / 0.8419 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/0.9845, allocations: 374.5 kB / 0.8422 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.9845, allocations: 20.66 kB / 0.8422 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/0.9847, allocations: 31.98 kB / 0.8423 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.986, allocations: 0.6051 MB / 0.8429 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.986, allocations: 3.938 kB / 0.8429 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.9861, allocations: 20 kB / 0.8429 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-05/0.9862, allocations: 28.55 kB / 0.8429 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.9874, allocations: 417.8 kB / 0.8433 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.9919, allocations: 3.372 MB / 0.8466 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.9931, allocations: 342.2 kB / 0.8469 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.9931, allocations: 4 kB / 0.8469 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.9932, allocations: 34.56 kB / 0.847 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=26): time 2.866e-06/0.9932, allocations: 0 / 0.847 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of matching and sorting (n=27): time 0.003445/0.9966, allocations: 1.079 MB / 0.848 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.9967, allocations: 55.59 kB / 0.8481 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.9972, allocations: 296.8 kB / 0.8484 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.9973, allocations: 33.7 kB / 0.8484 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.9975, allocations: 235.7 kB / 0.8486 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.9976, allocations: 98.58 kB / 0.8487 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.9976, allocations: 8 kB / 0.8487 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.9978, allocations: 346.8 kB / 0.849 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/0.9983, allocations: 152.6 kB / 0.8492 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.9989, allocations: 276.8 kB / 0.8495 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.9994, allocations: 188.6 kB / 0.8496 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.9995, allocations: 4 kB / 0.8496 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001671/1.001, allocations: 0.548 MB / 0.8502 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.001, allocations: 12.03 kB / 0.8502 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.001, allocations: 4 kB / 0.8502 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004881/1.002, allocations: 90.5 kB / 0.8503 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/1.002, allocations: 91.81 kB / 0.8504 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.002, allocations: 4 kB / 0.8504 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/1.003, allocations: 31.97 kB / 0.8504 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/1.003, allocations: 16 kB / 0.8504 GB, free: 2.348 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.0003041/1.003, allocations: 171.6 kB / 0.8506 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.003, allocations: 47.47 kB / 0.8506 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/1.005, allocations: 471.3 kB / 0.8511 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.005, allocations: 4 kB / 0.8511 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.005, allocations: 0 / 0.8511 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.005, allocations: 7.953 kB / 0.8511 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/1.007, allocations: 0.9746 MB / 0.852 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.007, allocations: 4 kB / 0.852 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/1.008, allocations: 52 kB / 0.8521 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/1.008, allocations: 86.5 kB / 0.8522 GB, free: 456 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/1.008, allocations: 4 kB / 0.8522 GB, free: 452 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.008, allocations: 4 kB / 0.8522 GB, free: 448 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.008, allocations: 7.938 kB / 0.8522 GB, free: 440 kB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/1.01, allocations: 0.5908 MB / 0.8528 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/1.01, allocations: 136.6 kB / 0.8529 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.898e-05/1.01, allocations: 8 kB / 0.8529 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.011, allocations: 27.88 kB / 0.8529 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.011, allocations: 23.95 kB / 0.8529 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/1.011, allocations: 12 kB / 0.853 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003663/1.011, allocations: 231.2 kB / 0.8532 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/1.011, allocations: 0 / 0.8532 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005933/1.012, allocations: 92 kB / 0.8533 GB, free: 15.24 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.001901/1.014, allocations: 1.344 MB / 0.8546 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001435/1.015, allocations: 0.639 MB / 0.8552 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.015, allocations: 0 / 0.8552 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007347/1.016, allocations: 434 kB / 0.8556 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/1.017, allocations: 117.4 kB / 0.8557 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/1.024, allocations: 4.906 MB / 0.8605 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/1.024, allocations: 0.8278 MB / 0.8613 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004973/1.025, allocations: 75.25 kB / 0.8614 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/1.025, allocations: 131.4 kB / 0.8615 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/1.025, allocations: 0 / 0.8615 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03938/1.064, allocations: 7.816 MB / 0.8692 GB, free: 14.79 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/1.065, allocations: 223.8 kB / 0.8694 GB, free: 14.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.525, allocations: 4 kB / 0.8694 GB, free: 14.54 MB / 0.698 GB