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.262/2.262, 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.001487/0.001487, allocations: 184.8 kB / 315.4 MB, free: 3.977 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.144/2.144, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001124/0.001124, allocations: 89.78 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.432e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1942, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9788/1.173, allocations: 200.8 MB / 1.08 GB, free: 5.477 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/1.173, allocations: 98.3 kB / 1.08 GB, free: 5.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3372/1.511, allocations: 83.87 MB / 1.162 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.274e-06/1.511, allocations: 0 / 1.162 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001571/1.511, allocations: 51.86 kB / 1.162 GB, free: 9.918 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.005236/1.516, allocations: 1.583 MB / 1.164 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.516, allocations: 8.031 kB / 1.164 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01978/1.536, allocations: 1.87 MB / 1.166 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/1.541, allocations: 1.224 MB / 1.167 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/1.541, allocations: 44 kB / 1.167 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/1.541, allocations: 64 kB / 1.167 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004712/1.546, allocations: 1.699 MB / 1.169 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005171/1.551, allocations: 2.049 MB / 1.171 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.509e-05/1.551, allocations: 27.78 kB / 1.171 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/1.551, allocations: 8 kB / 1.171 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/1.552, allocations: 78.3 kB / 1.171 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02588/1.577, allocations: 10.43 MB / 1.181 GB, free: 5.957 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/1.582, allocations: 1.657 MB / 1.182 GB, free: 4.23 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/1.584, allocations: 0.8816 MB / 1.183 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/1.584, allocations: 8.781 kB / 1.183 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/1.584, allocations: 43.34 kB / 1.183 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 4.308e-06/1.584, allocations: 0 / 1.183 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of matching and sorting (n=131): time 0.023/1.607, allocations: 5.732 MB / 1.189 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/1.607, allocations: 218.9 kB / 1.189 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/1.609, allocations: 0.7585 MB / 1.19 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003773/1.61, allocations: 25.7 kB / 1.19 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007545/1.61, allocations: 0.7144 MB / 1.191 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007525/1.611, allocations: 429.4 kB / 1.191 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/1.611, allocations: 0 / 1.191 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.611, allocations: 369.9 kB / 1.191 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/1.614, allocations: 0.928 MB / 1.192 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/1.616, allocations: 1.183 MB / 1.193 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/1.619, allocations: 1.08 MB / 1.195 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.619, allocations: 8 kB / 1.195 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01517/1.634, allocations: 3.612 MB / 1.198 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/1.635, allocations: 8 kB / 1.198 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/1.635, allocations: 12.09 kB / 1.198 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/1.646, allocations: 1.568 MB / 1.2 GB, free: 2.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/1.65, allocations: 439.3 kB / 1.2 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04032/1.691, allocations: 23.91 MB / 1.223 GB, free: 8.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004665/1.695, allocations: 295.5 kB / 1.224 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000389/1.696, allocations: 55.97 kB / 1.224 GB, free: 8.156 MB / 0.8386 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.0005163/1.696, allocations: 132.7 kB / 1.224 GB, free: 8.02 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01399/1.71, allocations: 3.417 MB / 1.227 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008134/1.711, allocations: 146.3 kB / 1.227 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/1.727, allocations: 3.667 MB / 1.231 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/1.727, allocations: 15.94 kB / 1.231 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.662e-05/1.727, allocations: 12 kB / 1.231 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-05/1.727, allocations: 11.97 kB / 1.231 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/1.749, allocations: 5.949 MB / 1.237 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/1.749, allocations: 8 kB / 1.237 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/1.753, allocations: 395.6 kB / 1.237 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0109/1.764, allocations: 1.466 MB / 1.239 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000378/1.764, allocations: 20.06 kB / 1.239 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03799/1.802, allocations: 22.91 MB / 1.261 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/1.802, allocations: 4 kB / 1.261 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6165/2.419, allocations: 3.611 MB / 1.264 GB, free: 262.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/2.421, allocations: 452.6 kB / 1.265 GB, free: 262.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005567/2.421, allocations: 4.828 kB / 1.265 GB, free: 262.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004473/2.426, allocations: 304 kB / 1.265 GB, free: 262.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006444/2.426, allocations: 126.2 kB / 1.265 GB, free: 262.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/2.427, allocations: 50.44 kB / 1.265 GB, free: 262.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00145/2.428, allocations: 0.5723 MB / 1.266 GB, free: 262.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.41e-07/2.428, allocations: 0.5469 kB / 1.266 GB, free: 262.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003721/2.432, allocations: 0.5414 MB / 1.266 GB, free: 262.6 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.01461/2.446, allocations: 4.951 MB / 1.271 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0112/2.458, allocations: 4.16 MB / 1.275 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/2.458, allocations: 1.969 kB / 1.275 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008133/2.466, allocations: 2.987 MB / 1.278 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/2.47, allocations: 427.1 kB / 1.279 GB, free: 258 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/2.481, allocations: 3.117 MB / 1.282 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/2.483, allocations: 1.509 MB / 1.283 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003239/2.487, allocations: 407.4 kB / 1.284 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/2.488, allocations: 0.6168 MB / 1.284 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.202e-06/2.488, allocations: 2.938 kB / 1.284 GB, free: 256.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/2.628, allocations: 46.86 MB / 1.33 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/2.628, allocations: 161.9 kB / 1.33 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.958/6.586, allocations: 4 kB / 1.33 GB, free: 254.7 MB / 0.8698 GB