Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.178/2.178, allocations: 251 MB / 265.9 MB, free: 11.75 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.001541/0.001541, allocations: 182 kB / 325.5 MB, free: 2.926 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.41/2.41, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001714/0.001714, allocations: 96.23 kB / 0.6809 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006623/0.0006624, allocations: 11.84 kB / 0.7951 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2497, allocations: 106.3 MB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9302/1.18, allocations: 164.7 MB / 1.06 GB, free: 65.33 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/1.18, allocations: 93.83 kB / 1.06 GB, free: 65.33 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7388/1.919, allocations: 200.1 MB / 1.255 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.607e-06/1.919, allocations: 0 / 1.255 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005125/1.92, allocations: 139.9 kB / 1.255 GB, free: 4.859 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02312/1.943, allocations: 4.748 MB / 1.26 GB, free: 44 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.943, allocations: 12.03 kB / 1.26 GB, free: 32 kB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005264/1.948, allocations: 0.8127 MB / 1.261 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/1.96, allocations: 1.059 MB / 1.262 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/1.973, allocations: 3.403 MB / 1.265 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006941/1.974, allocations: 423.1 kB / 1.265 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00315/1.977, allocations: 0.5388 MB / 1.266 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03222/2.01, allocations: 8.578 MB / 1.274 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004148/2.01, allocations: 31.7 kB / 1.274 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002687/2.013, allocations: 244 kB / 1.275 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006268/2.014, allocations: 314.8 kB / 1.275 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/2.036, allocations: 6.155 MB / 1.281 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07285/2.109, allocations: 40.1 MB / 1.32 GB, free: 14.17 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00688/2.116, allocations: 3.085 MB / 1.323 GB, free: 10.95 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/2.116, allocations: 22 kB / 1.323 GB, free: 10.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.568e-05/2.116, allocations: 56.56 kB / 1.323 GB, free: 10.86 MB / 0.823 GB Notification: Performance of pre-optimization done (n=179): time 5.31e-06/2.116, allocations: 0 / 1.323 GB, free: 10.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.04576/2.162, allocations: 9.862 MB / 1.333 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/2.162, allocations: 73.34 kB / 1.333 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/2.165, allocations: 1.306 MB / 1.334 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004788/2.166, allocations: 53.7 kB / 1.334 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002263/2.168, allocations: 2.242 MB / 1.336 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001276/2.169, allocations: 0.6277 MB / 1.337 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/2.17, allocations: 44 kB / 1.337 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002672/2.17, allocations: 402.3 kB / 1.337 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/2.173, allocations: 1.168 MB / 1.339 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/2.177, allocations: 1.851 MB / 1.34 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/2.181, allocations: 1.497 MB / 1.342 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/2.181, allocations: 8 kB / 1.342 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01422/2.195, allocations: 4.54 MB / 1.346 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/2.195, allocations: 16.06 kB / 1.346 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/2.195, allocations: 24 kB / 1.346 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00709/2.203, allocations: 1.589 MB / 1.348 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/2.205, allocations: 351.4 kB / 1.348 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03949/2.245, allocations: 17.69 MB / 1.365 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/2.248, allocations: 107.9 kB / 1.366 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004218/2.248, allocations: 103.9 kB / 1.366 GB, free: 14.24 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005978/2.254, allocations: 1.891 MB / 1.368 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008521/2.255, allocations: 221.4 kB / 1.368 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/2.268, allocations: 4.087 MB / 1.372 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-05/2.268, allocations: 24 kB / 1.372 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-05/2.268, allocations: 16 kB / 1.372 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.435e-05/2.268, allocations: 7.969 kB / 1.372 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0284/2.297, allocations: 9.4 MB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/2.297, allocations: 12.03 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/2.298, allocations: 179.7 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00654/2.305, allocations: 1.355 MB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000395/2.305, allocations: 39.94 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7251/3.03, allocations: 16.52 MB / 1.399 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/3.031, allocations: 8.969 kB / 1.399 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/3.043, allocations: 4.35 MB / 1.403 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/3.045, allocations: 0.5282 MB / 1.403 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008428/3.046, allocations: 34.77 kB / 1.403 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/3.048, allocations: 87.5 kB / 1.404 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/3.049, allocations: 161.9 kB / 1.404 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002839/3.049, allocations: 47.2 kB / 1.404 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003182/3.053, allocations: 0.9876 MB / 1.405 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.51e-07/3.053, allocations: 0.6562 kB / 1.405 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006939/3.06, allocations: 1.031 MB / 1.406 GB, free: 210.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01523/3.075, allocations: 6.096 MB / 1.412 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01228/3.087, allocations: 4.263 MB / 1.416 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/3.087, allocations: 3.75 kB / 1.416 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008145/3.095, allocations: 2.667 MB / 1.418 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005884/3.101, allocations: 0.6805 MB / 1.419 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06432/3.166, allocations: 37.33 MB / 1.456 GB, free: 183.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009509/3.175, allocations: 3.666 MB / 1.459 GB, free: 183 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002885/3.178, allocations: 466.7 kB / 1.46 GB, free: 183 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004282/3.183, allocations: 1.792 MB / 1.461 GB, free: 183 MB / 0.8855 GB Notification: Performance of SimCode: time 1.553e-06/3.183, allocations: 0 / 1.461 GB, free: 183 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1706/3.353, allocations: 71.04 MB / 1.531 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/3.354, allocations: 224.4 kB / 1.531 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.304/7.657, allocations: 0 / 1.531 GB, free: 180.1 MB / 0.8855 GB