Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.255/2.255, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.001429/0.001428, allocations: 180.1 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.2 MB / 0.571 GB, free: 11.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001102, allocations: 102.5 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.513e-05/4.528e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2056, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.228, allocations: 200.5 MB / 1.087 GB, free: 1.973 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005588/1.229, allocations: 95.56 kB / 1.087 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4116/1.64, allocations: 84.35 MB / 1.169 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.714e-06/1.64, allocations: 0 / 1.169 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002259/1.641, allocations: 43.94 kB / 1.169 GB, free: 2.727 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006148/1.647, allocations: 1.587 MB / 1.171 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.647, allocations: 8.031 kB / 1.171 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008471/1.648, allocations: 198.1 kB / 1.171 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02003/1.668, allocations: 1.866 MB / 1.173 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/1.673, allocations: 1.228 MB / 1.174 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/1.673, allocations: 86.36 kB / 1.174 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007891/1.674, allocations: 116 kB / 1.174 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006945/1.681, allocations: 2.246 MB / 1.176 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-05/1.681, allocations: 7.844 kB / 1.176 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/1.681, allocations: 63.94 kB / 1.176 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/1.681, allocations: 82.3 kB / 1.176 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006356/1.688, allocations: 1.863 MB / 1.178 GB, free: 9.066 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02946/1.717, allocations: 10.7 MB / 1.189 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004829/1.722, allocations: 1.7 MB / 1.19 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/1.725, allocations: 0.9011 MB / 1.191 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/1.725, allocations: 8.781 kB / 1.191 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/1.725, allocations: 51.33 kB / 1.191 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 4.037e-06/1.725, allocations: 3.938 kB / 1.191 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.06456/1.789, allocations: 9.967 MB / 1.201 GB, free: 1.016 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/1.79, allocations: 222.9 kB / 1.201 GB, free: 0.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/1.792, allocations: 0.9601 MB / 1.202 GB, free: 15.78 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003876/1.792, allocations: 45.7 kB / 1.202 GB, free: 15.73 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007727/1.793, allocations: 0.7079 MB / 1.203 GB, free: 15.01 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008654/1.794, allocations: 453.4 kB / 1.203 GB, free: 14.56 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/1.794, allocations: 27.94 kB / 1.203 GB, free: 14.54 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.794, allocations: 361.9 kB / 1.204 GB, free: 14.18 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/1.797, allocations: 0.9514 MB / 1.205 GB, free: 13.22 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/1.8, allocations: 1.221 MB / 1.206 GB, free: 11.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002845/1.803, allocations: 1.051 MB / 1.207 GB, free: 10.85 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/1.803, allocations: 4 kB / 1.207 GB, free: 10.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01536/1.818, allocations: 3.725 MB / 1.21 GB, free: 7.07 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/1.818, allocations: 9.844 kB / 1.21 GB, free: 7.062 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.818, allocations: 4 kB / 1.21 GB, free: 7.059 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/1.83, allocations: 1.619 MB / 1.212 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004131/1.834, allocations: 443.2 kB / 1.212 GB, free: 4.965 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04236/1.877, allocations: 24.77 MB / 1.237 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004838/1.882, allocations: 327.5 kB / 1.237 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004186/1.882, allocations: 59.91 kB / 1.237 GB, free: 10.09 MB / 0.8542 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005734/1.883, allocations: 176.8 kB / 1.237 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/1.883, allocations: 166 kB / 1.237 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/1.899, allocations: 3.775 MB / 1.241 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/1.899, allocations: 16 kB / 1.241 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-05/1.899, allocations: 15.94 kB / 1.241 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-05/1.899, allocations: 7.969 kB / 1.241 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/1.922, allocations: 6.193 MB / 1.247 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/1.922, allocations: 0 / 1.247 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003719/1.926, allocations: 395.7 kB / 1.247 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01133/1.937, allocations: 1.501 MB / 1.249 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003849/1.938, allocations: 39.97 kB / 1.249 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6638/2.601, allocations: 23.79 MB / 1.272 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.006e-06/2.602, allocations: 10.78 kB / 1.272 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/2.616, allocations: 3.695 MB / 1.276 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/2.618, allocations: 472.7 kB / 1.276 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007176/2.618, allocations: 29.39 kB / 1.276 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004562/2.623, allocations: 320.9 kB / 1.277 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000743/2.624, allocations: 125.9 kB / 1.277 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/2.624, allocations: 48.91 kB / 1.277 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001981/2.626, allocations: 0.7363 MB / 1.277 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.062e-06/2.626, allocations: 6.297 kB / 1.277 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004/2.63, allocations: 0.604 MB / 1.278 GB, free: 252.3 MB / 0.8698 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01494/2.645, allocations: 5.036 MB / 1.283 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01215/2.657, allocations: 4.328 MB / 1.287 GB, free: 249 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/2.657, allocations: 2.906 kB / 1.287 GB, free: 249 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008884/2.666, allocations: 3.119 MB / 1.29 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004424/2.671, allocations: 497.4 kB / 1.291 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/2.689, allocations: 3.249 MB / 1.294 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/2.691, allocations: 1.506 MB / 1.295 GB, free: 246 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003309/2.694, allocations: 429 kB / 1.296 GB, free: 246 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/2.696, allocations: 0.6287 MB / 1.296 GB, free: 246 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/2.696, allocations: 0 / 1.296 GB, free: 246 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/2.857, allocations: 51.12 MB / 1.346 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/2.857, allocations: 197.1 kB / 1.347 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.423/7.28, allocations: 0 / 1.347 GB, free: 242.5 MB / 0.8698 GB