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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.241/4.241, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.146e-05, allocations: 8.109 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 98.74 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9094/1.14, allocations: 167.7 MB / 0.7926 GB, free: 63.23 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/1.14, allocations: 95.59 kB / 0.7927 GB, free: 63.23 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1276/1.268, allocations: 28.46 MB / 0.8205 GB, free: 59.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.973e-06/1.268, allocations: 0 / 0.8205 GB, free: 59.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.476e-05/1.268, allocations: 11.75 kB / 0.8205 GB, free: 59.92 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001553/1.269, allocations: 0.6838 MB / 0.8212 GB, free: 59.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.269, allocations: 19.75 kB / 0.8212 GB, free: 59.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/1.274, allocations: 0.5742 MB / 0.8218 GB, free: 59.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/1.275, allocations: 475.3 kB / 0.8222 GB, free: 59.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/1.275, allocations: 11.72 kB / 0.8223 GB, free: 59.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/1.275, allocations: 19.53 kB / 0.8223 GB, free: 59.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001086/1.276, allocations: 464.1 kB / 0.8227 GB, free: 59.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.277, allocations: 0.5447 MB / 0.8232 GB, free: 59.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1.277, allocations: 0 / 0.8232 GB, free: 59.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-05/1.277, allocations: 7.891 kB / 0.8233 GB, free: 59.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/1.277, allocations: 23.83 kB / 0.8233 GB, free: 59.01 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/1.283, allocations: 2.772 MB / 0.826 GB, free: 57.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.284, allocations: 348.8 kB / 0.8263 GB, free: 57.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/1.284, allocations: 165.5 kB / 0.8265 GB, free: 57.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/1.284, allocations: 88.91 kB / 0.8266 GB, free: 57.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.284, allocations: 30.56 kB / 0.8266 GB, free: 57.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.975e-06/1.284, allocations: 0 / 0.8266 GB, free: 57.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.006803/1.291, allocations: 1.534 MB / 0.8281 GB, free: 57.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/1.291, allocations: 85.02 kB / 0.8282 GB, free: 56.98 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/1.292, allocations: 327.5 kB / 0.8285 GB, free: 56.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.363e-05/1.292, allocations: 25.7 kB / 0.8285 GB, free: 56.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/1.292, allocations: 244.6 kB / 0.8287 GB, free: 56.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.292, allocations: 76.44 kB / 0.8288 GB, free: 56.64 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/1.292, allocations: 0 / 0.8288 GB, free: 56.64 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/1.292, allocations: 342.9 kB / 0.8291 GB, free: 56.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/1.293, allocations: 232.5 kB / 0.8294 GB, free: 56.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/1.293, allocations: 323.7 kB / 0.8297 GB, free: 56.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008004/1.294, allocations: 301.5 kB / 0.83 GB, free: 56.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.294, allocations: 0 / 0.83 GB, free: 56.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004478/1.299, allocations: 1.051 MB / 0.831 GB, free: 56.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/1.299, allocations: 0.8002 MB / 0.8318 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.299, allocations: 0 / 0.8318 GB, free: 55.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/1.303, allocations: 483.5 kB / 0.8322 GB, free: 55.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/1.304, allocations: 129.1 kB / 0.8323 GB, free: 55.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/1.309, allocations: 3.013 MB / 0.8353 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.31, allocations: 107 kB / 0.8354 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/1.31, allocations: 18.77 kB / 0.8354 GB, free: 53.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.31, allocations: 8.906 kB / 0.8354 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001223/1.312, allocations: 462.9 kB / 0.8359 GB, free: 53.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.312, allocations: 3.906 kB / 0.8359 GB, free: 53.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/1.312, allocations: 7.891 kB / 0.8359 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.313, allocations: 155.8 kB / 0.836 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.313, allocations: 3.906 kB / 0.836 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009989/1.314, allocations: 96.75 kB / 0.8361 GB, free: 53.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/1.314, allocations: 11.72 kB / 0.8361 GB, free: 53.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001971/1.314, allocations: 120.7 kB / 0.8362 GB, free: 53.37 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0045/1.319, allocations: 1.041 MB / 0.8373 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.319, allocations: 31.28 kB / 0.8373 GB, free: 53.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/1.324, allocations: 1.103 MB / 0.8384 GB, free: 53.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.324, allocations: 3.906 kB / 0.8384 GB, free: 53.19 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.324, allocations: 3.953 kB / 0.8384 GB, free: 53.19 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.324, allocations: 3.75 kB / 0.8384 GB, free: 53.19 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/1.33, allocations: 1.723 MB / 0.8401 GB, free: 52.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.33, allocations: 0 / 0.8401 GB, free: 52.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/1.331, allocations: 86.73 kB / 0.8401 GB, free: 52.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003981/1.335, allocations: 0.6123 MB / 0.8407 GB, free: 52.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-05/1.335, allocations: 7.938 kB / 0.8407 GB, free: 52.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007029/1.342, allocations: 4.206 MB / 0.8449 GB, free: 49.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.342, allocations: 15.89 kB / 0.8449 GB, free: 49.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004476/1.346, allocations: 1.154 MB / 0.846 GB, free: 49.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/1.347, allocations: 165.4 kB / 0.8462 GB, free: 48.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/1.347, allocations: 0 / 0.8462 GB, free: 48.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.348, allocations: 121.7 kB / 0.8463 GB, free: 48.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/1.348, allocations: 23.67 kB / 0.8463 GB, free: 48.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/1.348, allocations: 11.31 kB / 0.8463 GB, free: 48.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004163/1.349, allocations: 267.4 kB / 0.8466 GB, free: 48.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.349, allocations: 0 / 0.8466 GB, free: 48.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001124/1.35, allocations: 190.8 kB / 0.8467 GB, free: 48.78 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005134/1.355, allocations: 1.972 MB / 0.8487 GB, free: 47.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002462/1.357, allocations: 0.9713 MB / 0.8496 GB, free: 47.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.358, allocations: 0 / 0.8496 GB, free: 47.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/1.359, allocations: 0.5588 MB / 0.8502 GB, free: 46.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/1.36, allocations: 105.7 kB / 0.8503 GB, free: 46.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/1.362, allocations: 0.8704 MB / 0.8511 GB, free: 46.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/1.362, allocations: 0.9226 MB / 0.852 GB, free: 45.72 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001181/1.364, allocations: 220.4 kB / 0.8522 GB, free: 45.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/1.364, allocations: 131.8 kB / 0.8523 GB, free: 45.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.272e-06/1.364, allocations: 0 / 0.8523 GB, free: 45.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05973/1.424, allocations: 13.59 MB / 0.8656 GB, free: 39.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/1.424, allocations: 155.1 kB / 0.8658 GB, free: 38.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/4.258, allocations: 0 / 0.8658 GB, free: 38.84 MB / 0.6511 GB