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.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.01157/0.01157, allocations: 106.2 kB / 15.05 MB, free: 5.984 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.001149/0.001149, allocations: 183.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 2.013/2.013, 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.277/2.277, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004896, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6595, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3026/0.9622, allocations: 167.9 MB / 0.8474 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004212/0.9627, allocations: 99.94 kB / 0.8475 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1336/1.096, allocations: 31.4 MB / 0.8782 GB, free: 6.273 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/1.096, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.695e-05/1.096, allocations: 20 kB / 0.8782 GB, free: 6.254 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00214/1.099, allocations: 0.8723 MB / 0.879 GB, free: 5.328 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.099, allocations: 11.97 kB / 0.8791 GB, free: 5.316 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/1.099, allocations: 98.52 kB / 0.8791 GB, free: 5.211 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/1.101, allocations: 195 kB / 0.8793 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/1.102, allocations: 0.4974 MB / 0.8798 GB, free: 4.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/1.102, allocations: 33 kB / 0.8798 GB, free: 4.449 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/1.103, allocations: 55.98 kB / 0.8799 GB, free: 4.395 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/1.105, allocations: 0.8709 MB / 0.8808 GB, free: 3.414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/1.105, allocations: 11.92 kB / 0.8808 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/1.105, allocations: 24 kB / 0.8808 GB, free: 3.379 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/1.105, allocations: 40.98 kB / 0.8808 GB, free: 3.336 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/1.107, allocations: 0.5658 MB / 0.8814 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007232/1.114, allocations: 4.604 MB / 0.8859 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/1.115, allocations: 294.4 kB / 0.8862 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/1.115, allocations: 4 kB / 0.8862 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/1.115, allocations: 42.56 kB / 0.8862 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.076e-06/1.115, allocations: 0 / 0.8862 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.009968/1.125, allocations: 2.63 MB / 0.8888 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/1.125, allocations: 55.41 kB / 0.8888 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009819/1.126, allocations: 397.2 kB / 0.8892 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.126, allocations: 37.7 kB / 0.8892 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/1.126, allocations: 331.8 kB / 0.8896 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/1.127, allocations: 149.9 kB / 0.8897 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/1.127, allocations: 12 kB / 0.8897 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002356/1.127, allocations: 362.7 kB / 0.8901 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008391/1.128, allocations: 233 kB / 0.8903 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.129, allocations: 392.3 kB / 0.8906 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/1.13, allocations: 289.5 kB / 0.8909 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.13, allocations: 0 / 0.8909 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003866/1.134, allocations: 0.8864 MB / 0.8918 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/1.134, allocations: 8.562 kB / 0.8918 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.134, allocations: 8 kB / 0.8918 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/1.136, allocations: 218.4 kB / 0.892 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.137, allocations: 119.8 kB / 0.8921 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.148, allocations: 5.005 MB / 0.897 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/1.149, allocations: 27.97 kB / 0.897 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/1.149, allocations: 24 kB / 0.8971 GB, free: 1.676 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006454/1.15, allocations: 229.6 kB / 0.8973 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/1.15, allocations: 55.34 kB / 0.8973 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/1.154, allocations: 0.7856 MB / 0.8981 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.154, allocations: 4 kB / 0.8981 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.154, allocations: 4 kB / 0.8981 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/1.154, allocations: 288 / 0.8981 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005517/1.159, allocations: 1.479 MB / 0.8996 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.159, allocations: 4 kB / 0.8996 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/1.16, allocations: 67.94 kB / 0.8996 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/1.162, allocations: 210.5 kB / 0.8998 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/1.162, allocations: 8 kB / 0.8998 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009851/1.172, allocations: 4.942 MB / 0.9047 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.172, allocations: 0 / 0.9047 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/1.176, allocations: 1.221 MB / 0.9059 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/1.177, allocations: 172.4 kB / 0.906 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.177, allocations: 8 kB / 0.906 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/1.178, allocations: 27.97 kB / 0.9061 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/1.178, allocations: 35.91 kB / 0.9061 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/1.178, allocations: 12.38 kB / 0.9061 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008039/1.179, allocations: 306.9 kB / 0.9064 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.21e-07/1.179, allocations: 0 / 0.9064 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001536/1.181, allocations: 180 kB / 0.9066 GB, free: 7.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005046/1.186, allocations: 2.262 MB / 0.9088 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003485/1.189, allocations: 0.9848 MB / 0.9097 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.189, allocations: 4 kB / 0.9097 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/1.191, allocations: 0.676 MB / 0.9104 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.193, allocations: 162.4 kB / 0.9106 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5536/1.747, allocations: 6.829 MB / 0.9172 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/1.748, allocations: 0.9577 MB / 0.9182 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007037/1.748, allocations: 110.3 kB / 0.9183 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/1.749, allocations: 208.3 kB / 0.9185 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/1.749, allocations: 0 / 0.9185 GB, free: 191.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05107/1.8, allocations: 13.22 MB / 0.9314 GB, free: 191 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/1.8, allocations: 215.7 kB / 0.9316 GB, free: 190.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/4.645, allocations: 4 kB / 0.9316 GB, free: 190.8 MB / 0.7292 GB