Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.247/2.247, allocations: 248.7 MB / 256.2 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001497, allocations: 186.7 kB / 315.4 MB, free: 4.031 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001185, allocations: 96.91 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.853e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.215, allocations: 175.6 MB / 1.056 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/1.216, allocations: 101.5 kB / 1.056 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1197/1.336, allocations: 28.51 MB / 1.084 GB, free: 5.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/1.336, allocations: 0 / 1.084 GB, free: 5.844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.142e-05/1.336, allocations: 8 kB / 1.084 GB, free: 5.836 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001741/1.337, allocations: 0.6887 MB / 1.084 GB, free: 5.129 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.338, allocations: 12.03 kB / 1.084 GB, free: 5.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/1.342, allocations: 0.5716 MB / 1.085 GB, free: 4.551 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/1.344, allocations: 476 kB / 1.085 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/1.344, allocations: 8 kB / 1.085 GB, free: 4.109 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/1.344, allocations: 19.91 kB / 1.085 GB, free: 4.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001279/1.345, allocations: 468.9 kB / 1.086 GB, free: 3.785 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/1.346, allocations: 0.5413 MB / 1.086 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.347, allocations: 0 / 1.086 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/1.347, allocations: 0 / 1.086 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.705e-05/1.347, allocations: 31.83 kB / 1.086 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006592/1.353, allocations: 2.778 MB / 1.089 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/1.355, allocations: 339.9 kB / 1.089 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/1.356, allocations: 163.8 kB / 1.09 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/1.356, allocations: 85.09 kB / 1.09 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/1.356, allocations: 42.12 kB / 1.09 GB, free: 196 kB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 4.789e-06/1.356, allocations: 0 / 1.09 GB, free: 196 kB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.009852/1.366, allocations: 1.526 MB / 1.091 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/1.366, allocations: 81.11 kB / 1.091 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/1.367, allocations: 330.7 kB / 1.092 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.367, allocations: 29.7 kB / 1.092 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/1.367, allocations: 237.2 kB / 1.092 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/1.368, allocations: 78.44 kB / 1.092 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/1.368, allocations: 0 / 1.092 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002313/1.368, allocations: 348.8 kB / 1.092 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008094/1.369, allocations: 237 kB / 1.092 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008653/1.37, allocations: 318.4 kB / 1.093 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.371, allocations: 291 kB / 1.093 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.371, allocations: 7.969 kB / 1.093 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006848/1.378, allocations: 1.07 MB / 1.094 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004951/1.378, allocations: 0.7874 MB / 1.095 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.378, allocations: 4 kB / 1.095 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005304/1.384, allocations: 486 kB / 1.095 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/1.385, allocations: 131.6 kB / 1.095 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008089/1.393, allocations: 3.001 MB / 1.098 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.395, allocations: 107.8 kB / 1.098 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/1.395, allocations: 15.31 kB / 1.098 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.395, allocations: 4 kB / 1.098 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/1.397, allocations: 469.6 kB / 1.099 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.397, allocations: 0 / 1.099 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.397, allocations: 4 kB / 1.099 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/1.398, allocations: 155.5 kB / 1.099 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/1.398, allocations: 4 kB / 1.099 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.399, allocations: 92.08 kB / 1.099 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/1.399, allocations: 15.92 kB / 1.099 GB, free: 7.688 MB / 0.7136 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.0002323/1.4, allocations: 112.9 kB / 1.099 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004949/1.404, allocations: 1.05 MB / 1.1 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/1.405, allocations: 35.19 kB / 1.1 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005235/1.41, allocations: 1.101 MB / 1.101 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/1.41, allocations: 0 / 1.101 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.41, allocations: 4 kB / 1.101 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.41, allocations: 3.953 kB / 1.101 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/1.417, allocations: 1.714 MB / 1.103 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.417, allocations: 0 / 1.103 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/1.417, allocations: 82.59 kB / 1.103 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004339/1.422, allocations: 0.625 MB / 1.104 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/1.422, allocations: 4 kB / 1.104 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008458/1.43, allocations: 4.207 MB / 1.108 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.43, allocations: 0 / 1.108 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/1.435, allocations: 1.173 MB / 1.109 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/1.436, allocations: 169.9 kB / 1.109 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/1.436, allocations: 0 / 1.109 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.437, allocations: 107.8 kB / 1.109 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/1.438, allocations: 31.41 kB / 1.109 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/1.438, allocations: 7.984 kB / 1.109 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004777/1.438, allocations: 268.5 kB / 1.11 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/1.438, allocations: 0 / 1.11 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001191/1.439, allocations: 187.6 kB / 1.11 GB, free: 14.14 MB / 0.7292 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.005869/1.445, allocations: 1.985 MB / 1.112 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002769/1.448, allocations: 0.9696 MB / 1.113 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.448, allocations: 0 / 1.113 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.45, allocations: 0.5611 MB / 1.113 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/1.451, allocations: 93.8 kB / 1.113 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/1.453, allocations: 0.8763 MB / 1.114 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/1.454, allocations: 0.9193 MB / 1.115 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001286/1.455, allocations: 227 kB / 1.115 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/1.456, allocations: 130.9 kB / 1.115 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of SimCode: time 1.142e-06/1.456, allocations: 0 / 1.115 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06781/1.523, allocations: 13.6 MB / 1.129 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/1.524, allocations: 151 kB / 1.129 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/4.292, allocations: 2.109 kB / 1.129 GB, free: 11.33 MB / 0.7448 GB