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.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.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.279/4.279, allocations: 433.2 MB / 440.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.595e-05, allocations: 0 / 0.5325 GB, free: 1.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.614/0.614, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.303/0.9171, allocations: 165.7 MB / 0.7908 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/0.9175, allocations: 95.94 kB / 0.7908 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.85/1.768, allocations: 77.28 MB / 0.8663 GB, free: 113.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.424e-06/1.768, allocations: 0 / 0.8663 GB, free: 113.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001613/1.768, allocations: 39.98 kB / 0.8664 GB, free: 113.8 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004303/1.772, allocations: 1.536 MB / 0.8679 GB, free: 112.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.772, allocations: 8.031 kB / 0.8679 GB, free: 112.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/1.79, allocations: 1.811 MB / 0.8696 GB, free: 110.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/1.794, allocations: 1.142 MB / 0.8707 GB, free: 109.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/1.794, allocations: 36 kB / 0.8708 GB, free: 109.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/1.795, allocations: 71.91 kB / 0.8708 GB, free: 109.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00406/1.799, allocations: 1.438 MB / 0.8723 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/1.803, allocations: 1.876 MB / 0.8741 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.259e-05/1.804, allocations: 11.89 kB / 0.8741 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/1.804, allocations: 8 kB / 0.8741 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/1.804, allocations: 74.2 kB / 0.8742 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/1.824, allocations: 9.92 MB / 0.8839 GB, free: 94.89 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/1.827, allocations: 1.117 MB / 0.885 GB, free: 93.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/1.828, allocations: 0.5762 MB / 0.8855 GB, free: 93.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.588e-05/1.829, allocations: 12.38 kB / 0.8855 GB, free: 93.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/1.829, allocations: 43 kB / 0.8856 GB, free: 93.11 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=53): time 3.928e-06/1.829, allocations: 0 / 0.8856 GB, free: 93.11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81): time 0.01415/1.843, allocations: 3.878 MB / 0.8894 GB, free: 89.19 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/1.843, allocations: 222.4 kB / 0.8896 GB, free: 88.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/1.844, allocations: 0.746 MB / 0.8903 GB, free: 88.17 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000263/1.845, allocations: 29.64 kB / 0.8903 GB, free: 88.13 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/1.845, allocations: 0.7369 MB / 0.891 GB, free: 87.39 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/1.846, allocations: 271.9 kB / 0.8913 GB, free: 87.12 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/1.846, allocations: 0 / 0.8913 GB, free: 87.12 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/1.846, allocations: 342 kB / 0.8916 GB, free: 86.78 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.847, allocations: 0.6781 MB / 0.8923 GB, free: 86.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/1.849, allocations: 0.9138 MB / 0.8932 GB, free: 85.08 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/1.851, allocations: 0.7657 MB / 0.8939 GB, free: 84.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/1.851, allocations: 0 / 0.8939 GB, free: 84.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007982/1.859, allocations: 2.426 MB / 0.8963 GB, free: 81.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.859, allocations: 11.95 kB / 0.8963 GB, free: 81.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.859, allocations: 12.05 kB / 0.8963 GB, free: 81.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004931/1.864, allocations: 0.838 MB / 0.8971 GB, free: 80.97 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/1.868, allocations: 419.3 kB / 0.8975 GB, free: 80.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/1.887, allocations: 14.32 MB / 0.9115 GB, free: 65.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/1.891, allocations: 283.6 kB / 0.9118 GB, free: 65.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/1.891, allocations: 51.97 kB / 0.9118 GB, free: 64.99 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003839/1.892, allocations: 128.8 kB / 0.912 GB, free: 64.86 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007263/1.899, allocations: 2.23 MB / 0.9141 GB, free: 62.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/1.899, allocations: 130.5 kB / 0.9143 GB, free: 62.46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007949/1.907, allocations: 2.427 MB / 0.9166 GB, free: 60 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.907, allocations: 8 kB / 0.9166 GB, free: 59.99 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/1.908, allocations: 11.94 kB / 0.9167 GB, free: 59.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/1.908, allocations: 3.984 kB / 0.9167 GB, free: 59.97 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.919, allocations: 4.022 MB / 0.9206 GB, free: 55.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.92, allocations: 4 kB / 0.9206 GB, free: 55.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003156/1.923, allocations: 363.6 kB / 0.9209 GB, free: 55.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004508/1.927, allocations: 0.7603 MB / 0.9217 GB, free: 54.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/1.928, allocations: 19.97 kB / 0.9217 GB, free: 54.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/1.945, allocations: 13.93 MB / 0.9353 GB, free: 39.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.945, allocations: 7.938 kB / 0.9353 GB, free: 39.82 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006858/1.952, allocations: 2.423 MB / 0.9377 GB, free: 37.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.953, allocations: 379.4 kB / 0.938 GB, free: 36.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003661/1.954, allocations: 4 kB / 0.938 GB, free: 36.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003698/1.957, allocations: 295.5 kB / 0.9383 GB, free: 36.59 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003923/1.958, allocations: 80.56 kB / 0.9384 GB, free: 36.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.958, allocations: 39.97 kB / 0.9384 GB, free: 36.47 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001129/1.959, allocations: 0.5641 MB / 0.939 GB, free: 35.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.673e-06/1.959, allocations: 0 / 0.939 GB, free: 35.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002531/1.962, allocations: 419.9 kB / 0.9394 GB, free: 35.49 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00766/1.969, allocations: 3.741 MB / 0.943 GB, free: 31.62 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006637/1.976, allocations: 2.745 MB / 0.9457 GB, free: 28.79 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.976, allocations: 4 kB / 0.9457 GB, free: 28.79 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004624/1.981, allocations: 1.887 MB / 0.9476 GB, free: 26.82 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.984, allocations: 420.9 kB / 0.948 GB, free: 26.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.996, allocations: 2.956 MB / 0.9509 GB, free: 23.37 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.997, allocations: 1.419 MB / 0.9522 GB, free: 21.92 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002742/2, allocations: 362.5 kB / 0.9526 GB, free: 21.56 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/2.001, allocations: 0.589 MB / 0.9532 GB, free: 20.97 MB / 0.6667 GB Notification: Performance of SimCode: time 1.653e-06/2.001, allocations: 0 / 0.9532 GB, free: 20.97 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1655/2.167, allocations: 37.22 MB / 0.9895 GB, free: 15.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/2.167, allocations: 154.6 kB / 0.9897 GB, free: 15.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/5.96, allocations: 3.938 kB / 0.9897 GB, free: 15.77 MB / 0.698 GB