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 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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008855/0.008855, allocations: 110.2 kB / 15.05 MB, free: 5.949 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.001101/0.001101, allocations: 182.1 kB / 15.94 MB, free: 5.902 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.037/2.037, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.389/2.389, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004688, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5684, allocations: 98.69 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2198/0.7882, allocations: 152.4 MB / 0.8321 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.7886, allocations: 95.89 kB / 0.8322 GB, free: 5.766 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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.1006/0.8892, allocations: 19.41 MB / 0.8512 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.563e-06/0.8893, allocations: 0 / 0.8512 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.999e-05/0.8894, allocations: 8 kB / 0.8512 GB, free: 2.098 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002096/0.8915, allocations: 0.6197 MB / 0.8518 GB, free: 1.43 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.8916, allocations: 8.031 kB / 0.8518 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.8936, allocations: 99.77 kB / 0.8519 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/0.8945, allocations: 306 kB / 0.8522 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.8946, allocations: 24.59 kB / 0.8522 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.8947, allocations: 27.98 kB / 0.8522 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.8968, allocations: 477.9 kB / 0.8527 GB, free: 444 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.8969, allocations: 15.92 kB / 0.8527 GB, free: 428 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.897, allocations: 12 kB / 0.8527 GB, free: 416 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.8971, allocations: 24.64 kB / 0.8527 GB, free: 392 kB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.8994, allocations: 394.4 kB / 0.8531 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/0.9048, allocations: 2.052 MB / 0.8551 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007677/0.9056, allocations: 226.8 kB / 0.8553 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.9057, allocations: 0 / 0.8553 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.9057, allocations: 42.48 kB / 0.8554 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.348e-06/0.9057, allocations: 0 / 0.8554 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001426/0.9072, allocations: 459.4 kB / 0.8558 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.9072, allocations: 55.41 kB / 0.8559 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.9076, allocations: 241.7 kB / 0.8561 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.9077, allocations: 25.7 kB / 0.8561 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.9078, allocations: 211.7 kB / 0.8563 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/0.9079, allocations: 63.09 kB / 0.8564 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.908, allocations: 12 kB / 0.8564 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.9082, allocations: 334.8 kB / 0.8567 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.9085, allocations: 104.4 kB / 0.8568 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.909, allocations: 214.8 kB / 0.857 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.9094, allocations: 127.9 kB / 0.8571 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.412e-06/0.9094, allocations: 0 / 0.8571 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001093/0.9105, allocations: 388.4 kB / 0.8575 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007309/0.9112, allocations: 1.312 MB / 0.8588 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.9113, allocations: 4 kB / 0.8588 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.9115, allocations: 32.78 kB / 0.8588 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.9119, allocations: 75.89 kB / 0.8589 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005342/0.9124, allocations: 0.5484 MB / 0.8594 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.9128, allocations: 55.7 kB / 0.8595 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.9129, allocations: 12 kB / 0.8595 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.9129, allocations: 10.28 kB / 0.8595 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000859/0.9138, allocations: 303.8 kB / 0.8598 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.9138, allocations: 8.062 kB / 0.8598 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.9138, allocations: 4 kB / 0.8598 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.9142, allocations: 75.89 kB / 0.8599 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.9143, allocations: 11.94 kB / 0.8599 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.9146, allocations: 35.73 kB / 0.8599 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.9146, allocations: 19.98 kB / 0.86 GB, free: 8.523 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (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.0003193/0.9149, allocations: 245 kB / 0.8602 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.915, allocations: 31.67 kB / 0.8602 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-05/0.9151, allocations: 30.17 kB / 0.8602 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.112e-06/0.9151, allocations: 4 kB / 0.8602 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.297e-06/0.9152, allocations: 0 / 0.8602 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.556e-06/0.9152, allocations: 0 / 0.8602 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.9157, allocations: 345.5 kB / 0.8606 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-06/0.9158, allocations: 0 / 0.8606 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.916, allocations: 47.92 kB / 0.8606 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/0.9162, allocations: 32.81 kB / 0.8607 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.9163, allocations: 4 kB / 0.8607 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.9177, allocations: 1.331 MB / 0.862 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.27e-06/0.9177, allocations: 0 / 0.862 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.9186, allocations: 388.1 kB / 0.8623 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.9188, allocations: 112.8 kB / 0.8624 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.9189, allocations: 7.984 kB / 0.8624 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.9192, allocations: 15.98 kB / 0.8625 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.9193, allocations: 15.98 kB / 0.8625 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.9193, allocations: 4 kB / 0.8625 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002682/0.9196, allocations: 186 kB / 0.8627 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.398e-06/0.9196, allocations: 0 / 0.8627 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008161/0.9204, allocations: 147.5 kB / 0.8628 GB, free: 5.379 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * 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.0001838/0.9206, allocations: 107.2 kB / 0.8629 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.922, allocations: 430.3 kB / 0.8633 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.826e-06/0.9221, allocations: 1 kB / 0.8633 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005332/0.9226, allocations: 232.4 kB / 0.8635 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.9232, allocations: 63.08 kB / 0.8636 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.9245, allocations: 0.6459 MB / 0.8642 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.9251, allocations: 0.8111 MB / 0.865 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003767/0.9255, allocations: 70.22 kB / 0.8651 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.9256, allocations: 19.44 kB / 0.8651 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of SimCode: time 1.577e-06/0.9256, allocations: 4 kB / 0.8651 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of Templates: time 0.009665/0.9353, allocations: 2.951 MB / 0.868 GB, free: 20 kB / 0.6823 GB