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.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",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.01088/0.01088, allocations: 107.9 kB / 15.05 MB, free: 5.988 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.001682/0.001681, allocations: 178.8 kB / 15.94 MB, free: 5.941 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.885/1.885, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.195/2.195, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6605, allocations: 98.72 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2782/0.9387, allocations: 146.4 MB / 0.8264 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/0.9392, allocations: 95.94 kB / 0.8265 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07163/1.011, allocations: 17 MB / 0.8431 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.465e-06/1.011, allocations: 4 kB / 0.8431 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.388e-05/1.011, allocations: 4 kB / 0.8431 GB, free: 10.49 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001694/1.013, allocations: 0.645 MB / 0.8437 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.013, allocations: 11.97 kB / 0.8437 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/1.013, allocations: 54.55 kB / 0.8438 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/1.014, allocations: 99.56 kB / 0.8439 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/1.015, allocations: 278.3 kB / 0.8441 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/1.015, allocations: 16.44 kB / 0.8442 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/1.015, allocations: 27.92 kB / 0.8442 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/1.016, allocations: 418.6 kB / 0.8446 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.016, allocations: 3.938 kB / 0.8446 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/1.016, allocations: 12 kB / 0.8446 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.378e-05/1.016, allocations: 20.36 kB / 0.8446 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/1.018, allocations: 408.8 kB / 0.845 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/1.021, allocations: 1.662 MB / 0.8466 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/1.023, allocations: 489.1 kB / 0.8471 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/1.023, allocations: 109 kB / 0.8472 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009194/1.024, allocations: 266.5 kB / 0.8475 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=27): time 3.036e-06/1.024, allocations: 0 / 0.8475 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.003288/1.028, allocations: 0.7787 MB / 0.8482 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/1.028, allocations: 85.05 kB / 0.8483 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/1.028, allocations: 204.1 kB / 0.8485 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/1.028, allocations: 33.7 kB / 0.8485 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/1.028, allocations: 164.3 kB / 0.8487 GB, free: 4.375 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/1.028, allocations: 94.06 kB / 0.8488 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/1.028, allocations: 4 kB / 0.8488 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.029, allocations: 342.8 kB / 0.8491 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007459/1.029, allocations: 184.2 kB / 0.8493 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/1.03, allocations: 253.3 kB / 0.8495 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/1.031, allocations: 231.3 kB / 0.8497 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.031, allocations: 4 kB / 0.8497 GB, free: 3.246 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002064/1.033, allocations: 0.557 MB / 0.8503 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004374/1.034, allocations: 0.8989 MB / 0.8512 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.034, allocations: 4 kB / 0.8512 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/1.034, allocations: 48.81 kB / 0.8512 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/1.035, allocations: 87.86 kB / 0.8513 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/1.037, allocations: 1.52 MB / 0.8528 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/1.038, allocations: 51.8 kB / 0.8528 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/1.038, allocations: 12 kB / 0.8528 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/1.038, allocations: 4 kB / 0.8528 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001952/1.04, allocations: 0.5085 MB / 0.8533 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.04, allocations: 3.938 kB / 0.8533 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/1.04, allocations: 44.97 kB / 0.8534 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/1.041, allocations: 87.88 kB / 0.8535 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/1.043, allocations: 1.489 MB / 0.8549 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/1.043, allocations: 51.8 kB / 0.855 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/1.043, allocations: 15.98 kB / 0.855 GB, free: 13.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003479/1.044, allocations: 241.1 kB / 0.8552 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/1.044, allocations: 23.72 kB / 0.8552 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/1.046, allocations: 497.8 kB / 0.8557 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.046, allocations: 4 kB / 0.8557 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.046, allocations: 0 / 0.8557 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.046, allocations: 4.266 kB / 0.8557 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/1.047, allocations: 0.5662 MB / 0.8563 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.047, allocations: 0 / 0.8563 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/1.048, allocations: 83.95 kB / 0.8564 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/1.048, allocations: 36.81 kB / 0.8564 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/1.048, allocations: 11.98 kB / 0.8564 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/1.05, allocations: 1.432 MB / 0.8578 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.05, allocations: 0 / 0.8578 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/1.051, allocations: 0.5933 MB / 0.8584 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/1.052, allocations: 140.7 kB / 0.8585 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/1.052, allocations: 4 kB / 0.8585 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/1.052, allocations: 43.95 kB / 0.8586 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.053, allocations: 35.91 kB / 0.8586 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/1.053, allocations: 7.984 kB / 0.8586 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002647/1.053, allocations: 172.5 kB / 0.8588 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/1.053, allocations: 0 / 0.8588 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008713/1.054, allocations: 143.9 kB / 0.8589 GB, free: 9.199 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: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002361/1.056, allocations: 1.376 MB / 0.8603 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003179/1.059, allocations: 1.011 MB / 0.8612 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.059, allocations: 0 / 0.8612 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/1.06, allocations: 342.8 kB / 0.8616 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/1.061, allocations: 40.34 kB / 0.8616 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/1.067, allocations: 3.362 MB / 0.8649 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/1.068, allocations: 0.7917 MB / 0.8657 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005853/1.068, allocations: 98.47 kB / 0.8658 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/1.069, allocations: 91.39 kB / 0.8658 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/1.069, allocations: 0 / 0.8658 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/1.106, allocations: 6.556 MB / 0.8722 GB, free: 11.46 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/1.107, allocations: 218.8 kB / 0.8725 GB, free: 11.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.624, allocations: 0 / 0.8725 GB, free: 11.22 MB / 0.698 GB