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.291/2.291, allocations: 248.5 MB / 261.1 MB, free: 5.938 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.001502/0.001502, allocations: 176.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.1 MB / 0.571 GB, free: 11.75 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.001088/0.001088, allocations: 86 kB / 0.6754 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.545e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2288, allocations: 106.3 MB / 0.8907 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9564/1.185, allocations: 175.4 MB / 1.062 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/1.186, allocations: 98.59 kB / 1.062 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1298/1.316, allocations: 28.69 MB / 1.09 GB, free: 1.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/1.316, allocations: 0 / 1.09 GB, free: 1.957 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.449e-05/1.316, allocations: 15.98 kB / 1.09 GB, free: 1.941 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.00246/1.318, allocations: 0.6914 MB / 1.091 GB, free: 1.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/1.318, allocations: 8.031 kB / 1.091 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/1.318, allocations: 71.66 kB / 1.091 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007375/1.326, allocations: 0.5714 MB / 1.091 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/1.328, allocations: 473.6 kB / 1.092 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/1.328, allocations: 23.72 kB / 1.092 GB, free: 156 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/1.328, allocations: 34.84 kB / 1.092 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/1.331, allocations: 0.5807 MB / 1.092 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/1.331, allocations: 0 / 1.092 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.331, allocations: 14.62 kB / 1.092 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/1.331, allocations: 24.77 kB / 1.093 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/1.333, allocations: 0.5137 MB / 1.093 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/1.344, allocations: 2.863 MB / 1.096 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/1.346, allocations: 346.2 kB / 1.096 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/1.347, allocations: 167.5 kB / 1.096 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/1.347, allocations: 101 kB / 1.096 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/1.347, allocations: 30.56 kB / 1.096 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 4.919e-06/1.347, allocations: 0 / 1.096 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.01774/1.365, allocations: 2.032 MB / 1.098 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/1.365, allocations: 84.55 kB / 1.098 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/1.366, allocations: 367.9 kB / 1.099 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.366, allocations: 28.83 kB / 1.099 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/1.367, allocations: 248.2 kB / 1.099 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/1.367, allocations: 80.09 kB / 1.099 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.861e-05/1.367, allocations: 3.25 kB / 1.099 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002835/1.367, allocations: 348.6 kB / 1.1 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009657/1.368, allocations: 241.9 kB / 1.1 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/1.369, allocations: 325.9 kB / 1.1 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.37, allocations: 273.5 kB / 1.1 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.371, allocations: 0 / 1.1 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.008664/1.379, allocations: 1.14 MB / 1.101 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005428/1.38, allocations: 0.7913 MB / 1.102 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.38, allocations: 0 / 1.102 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00715/1.387, allocations: 0.6395 MB / 1.103 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.389, allocations: 135.8 kB / 1.103 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009814/1.399, allocations: 3.109 MB / 1.106 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.401, allocations: 119.8 kB / 1.106 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.401, allocations: 12.06 kB / 1.106 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.401, allocations: 4 kB / 1.106 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006082/1.407, allocations: 0.8904 MB / 1.107 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.407, allocations: 0 / 1.107 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004011/1.411, allocations: 400.5 kB / 1.107 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/1.413, allocations: 143.8 kB / 1.108 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007861/1.421, allocations: 2.405 MB / 1.11 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.423, allocations: 107.8 kB / 1.11 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.423, allocations: 8 kB / 1.11 GB, free: 14.94 MB / 0.7292 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.0003411/1.424, allocations: 132.9 kB / 1.11 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/1.424, allocations: 35.62 kB / 1.11 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0082/1.432, allocations: 1.112 MB / 1.111 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/1.432, allocations: 7.984 kB / 1.111 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.432, allocations: 4 kB / 1.111 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.432, allocations: 0 / 1.111 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.443, allocations: 1.793 MB / 1.113 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.443, allocations: 0 / 1.113 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.444, allocations: 83.91 kB / 1.113 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00783/1.452, allocations: 0.622 MB / 1.114 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.452, allocations: 8 kB / 1.114 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/1.463, allocations: 4.376 MB / 1.118 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/1.463, allocations: 4.031 kB / 1.118 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005266/1.468, allocations: 1.169 MB / 1.119 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/1.469, allocations: 176.6 kB / 1.119 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.469, allocations: 4 kB / 1.119 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.47, allocations: 91.86 kB / 1.119 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/1.47, allocations: 23.97 kB / 1.119 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/1.47, allocations: 15.92 kB / 1.119 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006388/1.471, allocations: 302.1 kB / 1.12 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.01e-07/1.471, allocations: 0 / 1.12 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001248/1.472, allocations: 215.9 kB / 1.12 GB, free: 4.355 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.006015/1.478, allocations: 1.989 MB / 1.122 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003595/1.482, allocations: 1.199 MB / 1.123 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.482, allocations: 0 / 1.123 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.484, allocations: 0.5831 MB / 1.124 GB, free: 484 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/1.485, allocations: 121.7 kB / 1.124 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/1.487, allocations: 0.9056 MB / 1.125 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/1.488, allocations: 0.9174 MB / 1.125 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001266/1.489, allocations: 219.1 kB / 1.126 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/1.49, allocations: 131.4 kB / 1.126 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of SimCode: time 1.373e-06/1.49, allocations: 0 / 1.126 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06004/1.55, allocations: 16.18 MB / 1.142 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/1.55, allocations: 192.3 kB / 1.142 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/4.404, allocations: 0 / 1.142 GB, free: 13.9 MB / 0.7605 GB