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.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.314/4.314, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.707e-05, allocations: 3.094 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2305, allocations: 98.75 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2755/0.5061, allocations: 151.9 MB / 0.7772 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.5065, allocations: 91.95 kB / 0.7773 GB, free: 0.8828 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.5968/1.103, allocations: 17.63 MB / 0.7945 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.903e-06/1.103, allocations: 0 / 0.7945 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.809e-05/1.103, allocations: 7.688 kB / 0.7945 GB, free: 146.2 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001492/1.105, allocations: 0.6074 MB / 0.7951 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.105, allocations: 8.875 kB / 0.7951 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.106, allocations: 119.8 kB / 0.7953 GB, free: 145.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/1.107, allocations: 331.1 kB / 0.7956 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/1.107, allocations: 42.17 kB / 0.7956 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/1.107, allocations: 18.91 kB / 0.7956 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008867/1.108, allocations: 322.2 kB / 0.7959 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/1.109, allocations: 427.5 kB / 0.7963 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.109, allocations: 0 / 0.7963 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/1.109, allocations: 5.078 kB / 0.7964 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/1.109, allocations: 25.02 kB / 0.7964 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/1.113, allocations: 2.136 MB / 0.7985 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/1.114, allocations: 249.2 kB / 0.7987 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/1.114, allocations: 131.2 kB / 0.7988 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/1.114, allocations: 1.125 kB / 0.7988 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/1.114, allocations: 37.34 kB / 0.7989 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 2.886e-06/1.114, allocations: 3.938 kB / 0.7989 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0009571/1.115, allocations: 248.2 kB / 0.7991 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/1.115, allocations: 54.06 kB / 0.7992 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/1.115, allocations: 178.3 kB / 0.7993 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/1.115, allocations: 34.89 kB / 0.7994 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.116, allocations: 214.9 kB / 0.7996 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/1.116, allocations: 67.88 kB / 0.7996 GB, free: 142 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/1.116, allocations: 0 / 0.7996 GB, free: 142 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/1.116, allocations: 326.5 kB / 0.7999 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/1.116, allocations: 75.53 kB / 0.8 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/1.116, allocations: 154.6 kB / 0.8002 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/1.116, allocations: 93.09 kB / 0.8002 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.117, allocations: 0 / 0.8002 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009952/1.118, allocations: 312 kB / 0.8005 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002206/1.118, allocations: 0.9627 MB / 0.8015 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.118, allocations: 10.62 kB / 0.8015 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006691/1.118, allocations: 100.5 kB / 0.8016 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/1.119, allocations: 52.34 kB / 0.8016 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/1.122, allocations: 1.972 MB / 0.8036 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/1.122, allocations: 24.2 kB / 0.8036 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/1.122, allocations: 8.594 kB / 0.8036 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.122, allocations: 4.25 kB / 0.8036 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008303/1.123, allocations: 246.7 kB / 0.8038 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.123, allocations: 2.125 kB / 0.8038 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/1.124, allocations: 73.17 kB / 0.8039 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/1.124, allocations: 60.69 kB / 0.804 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/1.126, allocations: 1.423 MB / 0.8054 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/1.127, allocations: 27.45 kB / 0.8054 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/1.127, allocations: 7.719 kB / 0.8054 GB, free: 136.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.127, allocations: 112.9 kB / 0.8055 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008258/1.128, allocations: 247.9 kB / 0.8057 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/1.128, allocations: 23.53 kB / 0.8058 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.445e-05/1.128, allocations: 21.91 kB / 0.8058 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.128, allocations: 3.938 kB / 0.8058 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.128, allocations: 3.984 kB / 0.8058 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.128, allocations: 144 / 0.8058 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/1.129, allocations: 0.7276 MB / 0.8065 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.129, allocations: 4 kB / 0.8065 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/1.13, allocations: 43.27 kB / 0.8065 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005608/1.13, allocations: 97.17 kB / 0.8066 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/1.13, allocations: 3.938 kB / 0.8066 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/1.134, allocations: 2.665 MB / 0.8092 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.134, allocations: 3.984 kB / 0.8092 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/1.134, allocations: 392.8 kB / 0.8096 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/1.135, allocations: 112.7 kB / 0.8097 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/1.135, allocations: 3.984 kB / 0.8097 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/1.135, allocations: 15.72 kB / 0.8097 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.135, allocations: 23.78 kB / 0.8098 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/1.135, allocations: 7.688 kB / 0.8098 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001468/1.135, allocations: 131.9 kB / 0.8099 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.11e-07/1.135, allocations: 0 / 0.8099 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009166/1.136, allocations: 160.3 kB / 0.8101 GB, free: 132.5 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/1.137, allocations: 1.069 MB / 0.8111 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00236/1.14, allocations: 0.561 MB / 0.8116 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.14, allocations: 0 / 0.8116 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/1.141, allocations: 338 kB / 0.812 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/1.141, allocations: 46.44 kB / 0.812 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/1.143, allocations: 478.1 kB / 0.8125 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/1.143, allocations: 0.8253 MB / 0.8133 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000379/1.144, allocations: 66.02 kB / 0.8133 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/1.144, allocations: 87.39 kB / 0.8134 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/1.144, allocations: 0 / 0.8134 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04106/1.185, allocations: 5.927 MB / 0.8192 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/1.185, allocations: 138.9 kB / 0.8193 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.642/3.827, allocations: 8.031 kB / 0.8193 GB, free: 123.5 MB / 0.6511 GB