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.366/2.366, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 174.8 kB / 325.5 MB, free: 2.918 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.758/2.758, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001236/0.001236, allocations: 95.28 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006565/0.0006566, allocations: 16.41 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2176, allocations: 106.3 MB / 0.8988 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.98/1.198, allocations: 200.6 MB / 1.095 GB, free: 54.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/1.198, allocations: 102.4 kB / 1.095 GB, free: 54.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3723/1.57, allocations: 84.74 MB / 1.178 GB, free: 25.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.456e-06/1.57, allocations: 4 kB / 1.178 GB, free: 25.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002561/1.571, allocations: 37.28 kB / 1.178 GB, free: 25.53 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00796/1.579, allocations: 1.81 MB / 1.179 GB, free: 23.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/1.579, allocations: 8.031 kB / 1.179 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001059/1.58, allocations: 199.7 kB / 1.18 GB, free: 23.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0195/1.599, allocations: 1.881 MB / 1.181 GB, free: 21.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00421/1.604, allocations: 1.226 MB / 1.183 GB, free: 20.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/1.604, allocations: 83.64 kB / 1.183 GB, free: 20.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006098/1.604, allocations: 129.5 kB / 1.183 GB, free: 20.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/1.615, allocations: 2.734 MB / 1.185 GB, free: 18.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.83e-05/1.615, allocations: 7.938 kB / 1.185 GB, free: 18.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/1.615, allocations: 64.59 kB / 1.186 GB, free: 18.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/1.616, allocations: 89.33 kB / 1.186 GB, free: 18.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/1.63, allocations: 2.848 MB / 1.188 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02525/1.655, allocations: 10.72 MB / 1.199 GB, free: 6.559 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/1.668, allocations: 2.578 MB / 1.201 GB, free: 4.406 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/1.668, allocations: 12.75 kB / 1.201 GB, free: 4.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/1.668, allocations: 51.23 kB / 1.201 GB, free: 4.348 MB / 0.698 GB Notification: Performance of pre-optimization done (n=89): time 4.248e-06/1.668, allocations: 3.938 kB / 1.201 GB, free: 4.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=131): time 0.09198/1.76, allocations: 14 MB / 1.215 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/1.761, allocations: 222.9 kB / 1.215 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/1.763, allocations: 0.9696 MB / 1.216 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004174/1.763, allocations: 49.7 kB / 1.216 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007769/1.764, allocations: 0.7116 MB / 1.217 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007669/1.765, allocations: 444.9 kB / 1.217 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/1.765, allocations: 24 kB / 1.217 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001935/1.765, allocations: 361.9 kB / 1.218 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00652/1.772, allocations: 1.365 MB / 1.219 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007006/1.779, allocations: 1.634 MB / 1.221 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006994/1.786, allocations: 1.462 MB / 1.222 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/1.786, allocations: 0 / 1.222 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.02348/1.81, allocations: 4.552 MB / 1.227 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/1.81, allocations: 12 kB / 1.227 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/1.81, allocations: 8 kB / 1.227 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/1.822, allocations: 1.618 MB / 1.228 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004079/1.826, allocations: 439.2 kB / 1.229 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04396/1.87, allocations: 25.34 MB / 1.253 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/1.875, allocations: 319.5 kB / 1.254 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003754/1.875, allocations: 60.06 kB / 1.254 GB, free: 13.42 MB / 0.7605 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 () * Number of clocked 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.001469/1.877, allocations: 437.4 kB / 1.254 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000641/1.877, allocations: 170.1 kB / 1.254 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02354/1.901, allocations: 4.582 MB / 1.259 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/1.901, allocations: 19.95 kB / 1.259 GB, free: 8.16 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.266e-05/1.901, allocations: 12 kB / 1.259 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.691e-05/1.901, allocations: 7.984 kB / 1.259 GB, free: 8.141 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0306/1.932, allocations: 7.003 MB / 1.266 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.761e-05/1.932, allocations: 7.953 kB / 1.266 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003709/1.936, allocations: 395.6 kB / 1.266 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/1.947, allocations: 1.509 MB / 1.268 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004287/1.947, allocations: 39.97 kB / 1.268 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04229/1.99, allocations: 24.36 MB / 1.291 GB, free: 4.93 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.363e-06/1.99, allocations: 4.25 kB / 1.291 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/2.013, allocations: 4.514 MB / 1.296 GB, free: 240 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/2.015, allocations: 479 kB / 1.296 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007151/2.015, allocations: 27.94 kB / 1.296 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004604/2.02, allocations: 323.5 kB / 1.297 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007629/2.021, allocations: 124.5 kB / 1.297 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/2.021, allocations: 47.97 kB / 1.297 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001934/2.023, allocations: 0.7536 MB / 1.297 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.61e-07/2.023, allocations: 4 kB / 1.297 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003869/2.027, allocations: 0.6016 MB / 1.298 GB, free: 13.88 MB / 0.8073 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 () * Number of clocked 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.03603/2.063, allocations: 5.848 MB / 1.304 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0261/2.089, allocations: 5.185 MB / 1.309 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/2.089, allocations: 0 / 1.309 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01418/2.103, allocations: 3.565 MB / 1.312 GB, free: 14.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/2.108, allocations: 0.4974 MB / 1.313 GB, free: 14.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06031/2.168, allocations: 18.44 MB / 1.331 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/2.17, allocations: 1.505 MB / 1.332 GB, free: 9.805 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003404/2.174, allocations: 425.4 kB / 1.333 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001954/2.176, allocations: 0.6281 MB / 1.333 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of SimCode: time 1.192e-06/2.176, allocations: 0 / 1.333 GB, free: 8.754 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1468/2.323, allocations: 51.31 MB / 1.383 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/2.323, allocations: 211.3 kB / 1.384 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.368/6.691, allocations: 0 / 1.384 GB, free: 5.742 MB / 0.8855 GB