Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.408/4.408, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.728e-05, allocations: 3.938 kB / 0.5325 GB, free: 12.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 98.74 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2711/0.485, allocations: 151.6 MB / 0.777 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.4855, allocations: 91.92 kB / 0.777 GB, free: 1.156 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.6347/1.12, allocations: 19.18 MB / 0.7958 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/1.12, allocations: 0 / 0.7958 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.046e-05/1.12, allocations: 11.91 kB / 0.7958 GB, free: 145.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001348/1.122, allocations: 0.591 MB / 0.7964 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.122, allocations: 9.688 kB / 0.7964 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/1.123, allocations: 104.5 kB / 0.7965 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/1.123, allocations: 289 kB / 0.7968 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.123, allocations: 9.594 kB / 0.7968 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/1.124, allocations: 21.44 kB / 0.7968 GB, free: 144.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007377/1.124, allocations: 284.5 kB / 0.7971 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008269/1.125, allocations: 406 kB / 0.7974 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/1.125, allocations: 0 / 0.7974 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/1.125, allocations: 4.922 kB / 0.7974 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.1e-05/1.125, allocations: 39.31 kB / 0.7975 GB, free: 144 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/1.128, allocations: 1.975 MB / 0.7994 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/1.129, allocations: 183.5 kB / 0.7996 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/1.129, allocations: 129.6 kB / 0.7997 GB, free: 142 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/1.129, allocations: 2.719 kB / 0.7997 GB, free: 142 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/1.129, allocations: 36.53 kB / 0.7997 GB, free: 142 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.935e-06/1.129, allocations: 0 / 0.7997 GB, free: 142 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0005991/1.13, allocations: 183.6 kB / 0.7999 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/1.13, allocations: 57.92 kB / 0.8 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/1.13, allocations: 203.9 kB / 0.8002 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/1.13, allocations: 27.08 kB / 0.8002 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.131, allocations: 209.8 kB / 0.8004 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/1.131, allocations: 59.92 kB / 0.8005 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/1.131, allocations: 0 / 0.8005 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/1.131, allocations: 335.5 kB / 0.8008 GB, free: 141 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/1.131, allocations: 60.02 kB / 0.8008 GB, free: 141 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/1.131, allocations: 166.1 kB / 0.801 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/1.131, allocations: 94.86 kB / 0.8011 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.131, allocations: 2.125 kB / 0.8011 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007027/1.132, allocations: 271 kB / 0.8013 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002777/1.132, allocations: 1.396 MB / 0.8027 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.132, allocations: 4.438 kB / 0.8027 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/1.133, allocations: 27 kB / 0.8027 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/1.133, allocations: 75.58 kB / 0.8028 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004521/1.134, allocations: 0.5479 MB / 0.8033 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/1.134, allocations: 46.72 kB / 0.8034 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/1.134, allocations: 18.92 kB / 0.8034 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.134, allocations: 10.72 kB / 0.8034 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004792/1.135, allocations: 188.4 kB / 0.8036 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.135, allocations: 3.969 kB / 0.8036 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/1.135, allocations: 4.094 kB / 0.8036 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/1.135, allocations: 82.14 kB / 0.8037 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.135, allocations: 7.469 kB / 0.8037 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/1.136, allocations: 31.5 kB / 0.8037 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/1.136, allocations: 19.69 kB / 0.8037 GB, free: 138.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.136, allocations: 116.8 kB / 0.8038 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004477/1.136, allocations: 175.2 kB / 0.804 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/1.136, allocations: 26.78 kB / 0.804 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.054e-05/1.136, allocations: 33.7 kB / 0.8041 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.136, allocations: 3.953 kB / 0.8041 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.136, allocations: 0 / 0.8041 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.136, allocations: 0 / 0.8041 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/1.138, allocations: 0.6394 MB / 0.8047 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/1.138, allocations: 3.953 kB / 0.8047 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/1.138, allocations: 42.91 kB / 0.8047 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/1.138, allocations: 32.58 kB / 0.8048 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/1.138, allocations: 3.75 kB / 0.8048 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009236/1.139, allocations: 1.254 MB / 0.806 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.139, allocations: 0 / 0.806 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/1.14, allocations: 333.6 kB / 0.8063 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/1.14, allocations: 112.5 kB / 0.8064 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/1.14, allocations: 7.953 kB / 0.8064 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/1.14, allocations: 15.42 kB / 0.8065 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/1.14, allocations: 15.77 kB / 0.8065 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/1.14, allocations: 7.906 kB / 0.8065 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001523/1.14, allocations: 151.3 kB / 0.8066 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.14, allocations: 0 / 0.8066 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008321/1.141, allocations: 136.4 kB / 0.8068 GB, free: 135.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007068/1.142, allocations: 0.9942 MB / 0.8077 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007624/1.143, allocations: 289.8 kB / 0.808 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/1.143, allocations: 3.938 kB / 0.808 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/1.143, allocations: 179.5 kB / 0.8082 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/1.144, allocations: 57.72 kB / 0.8082 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/1.145, allocations: 446.8 kB / 0.8087 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/1.145, allocations: 0.8099 MB / 0.8094 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00046/1.146, allocations: 73.17 kB / 0.8095 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/1.146, allocations: 83.12 kB / 0.8096 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of SimCode: time 9.31e-07/1.146, allocations: 0 / 0.8096 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04885/1.195, allocations: 5.058 MB / 0.8145 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.195, allocations: 144.3 kB / 0.8147 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.906, allocations: 0 / 0.8147 GB, free: 128.6 MB / 0.6511 GB