Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.271/2.271, allocations: 248.5 MB / 261.1 MB, free: 6.047 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.002147/0.002147, allocations: 181.7 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.122/2.122, allocations: 205.1 MB / 0.571 GB, free: 11.82 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.001077/0.001076, allocations: 90.42 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.475e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2065, allocations: 106.3 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9283/1.135, allocations: 185.2 MB / 1.072 GB, free: 444 kB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003972/1.135, allocations: 98.38 kB / 1.072 GB, free: 392 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2611/1.396, allocations: 63.79 MB / 1.134 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.388e-06/1.396, allocations: 0 / 1.134 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001535/1.397, allocations: 43.92 kB / 1.134 GB, free: 6.762 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006164/1.403, allocations: 1.558 MB / 1.136 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/1.403, allocations: 8.031 kB / 1.136 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/1.404, allocations: 248.2 kB / 1.136 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/1.409, allocations: 0.4975 MB / 1.136 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004126/1.413, allocations: 1.147 MB / 1.137 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/1.413, allocations: 107.1 kB / 1.137 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005272/1.413, allocations: 152 kB / 1.138 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00745/1.421, allocations: 2.431 MB / 1.14 GB, free: 460 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-05/1.421, allocations: 7.844 kB / 1.14 GB, free: 452 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/1.421, allocations: 71.98 kB / 1.14 GB, free: 380 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/1.422, allocations: 91 kB / 1.14 GB, free: 288 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006204/1.428, allocations: 1.972 MB / 1.142 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02123/1.449, allocations: 10.52 MB / 1.152 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/1.451, allocations: 0.553 MB / 1.153 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009608/1.452, allocations: 376.7 kB / 1.153 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/1.452, allocations: 89.09 kB / 1.153 GB, free: 1.863 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.452, allocations: 34.56 kB / 1.153 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 3.076e-06/1.452, allocations: 0 / 1.153 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=52): time 0.02737/1.479, allocations: 4.794 MB / 1.158 GB, free: 13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/1.479, allocations: 89.5 kB / 1.158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/1.481, allocations: 0.804 MB / 1.159 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/1.482, allocations: 33.7 kB / 1.159 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007349/1.482, allocations: 0.7577 MB / 1.16 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/1.483, allocations: 185.4 kB / 1.16 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/1.483, allocations: 16 kB / 1.16 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002431/1.483, allocations: 390.8 kB / 1.16 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/1.485, allocations: 0.5876 MB / 1.161 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/1.487, allocations: 0.9683 MB / 1.162 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/1.49, allocations: 0.7682 MB / 1.163 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/1.49, allocations: 4 kB / 1.163 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01906/1.51, allocations: 2.769 MB / 1.165 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002879/1.513, allocations: 4.533 MB / 1.17 GB, free: 0.5039 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.339e-05/1.513, allocations: 16 kB / 1.17 GB, free: 500 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/1.525, allocations: 1.416 MB / 1.171 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/1.527, allocations: 239.5 kB / 1.171 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/1.542, allocations: 6.813 MB / 1.178 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/1.545, allocations: 163.6 kB / 1.178 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003651/1.545, allocations: 40 kB / 1.178 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.545, allocations: 4 kB / 1.178 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01497/1.56, allocations: 2.251 MB / 1.18 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.446e-05/1.561, allocations: 12.03 kB / 1.18 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008897/1.569, allocations: 0.8599 MB / 1.181 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/1.573, allocations: 259.5 kB / 1.181 GB, free: 4.094 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/1.591, allocations: 5.368 MB / 1.187 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/1.594, allocations: 139.8 kB / 1.187 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003239/1.594, allocations: 43.98 kB / 1.187 GB, free: 14.27 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005942/1.595, allocations: 164.6 kB / 1.187 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/1.595, allocations: 75.06 kB / 1.187 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01687/1.612, allocations: 2.321 MB / 1.189 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/1.612, allocations: 8 kB / 1.189 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.612, allocations: 0 / 1.189 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/1.612, allocations: 192 / 1.189 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/1.637, allocations: 4.266 MB / 1.194 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/1.637, allocations: 4 kB / 1.194 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.638, allocations: 95.86 kB / 1.194 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01444/1.653, allocations: 1.365 MB / 1.195 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/1.653, allocations: 12 kB / 1.195 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03009/1.683, allocations: 9.489 MB / 1.204 GB, free: 11.78 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/1.683, allocations: 4.031 kB / 1.204 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/1.699, allocations: 2.369 MB / 1.207 GB, free: 9.301 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.7, allocations: 280 kB / 1.207 GB, free: 9.008 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004497/1.701, allocations: 19.95 kB / 1.207 GB, free: 8.988 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.703, allocations: 115.8 kB / 1.207 GB, free: 8.875 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005107/1.703, allocations: 51.88 kB / 1.207 GB, free: 8.824 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.704, allocations: 12 kB / 1.207 GB, free: 8.812 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002303/1.706, allocations: 0.6357 MB / 1.208 GB, free: 8.184 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.092e-06/1.706, allocations: 0 / 1.208 GB, free: 8.184 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00666/1.713, allocations: 0.6016 MB / 1.208 GB, free: 7.582 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01842/1.731, allocations: 3.562 MB / 1.212 GB, free: 3.922 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01457/1.746, allocations: 2.963 MB / 1.215 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.047e-05/1.746, allocations: 4 kB / 1.215 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005169/1.751, allocations: 1.225 MB / 1.216 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/1.754, allocations: 206.7 kB / 1.216 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/1.768, allocations: 2.902 MB / 1.219 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004397/1.773, allocations: 1.642 MB / 1.22 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004628/1.778, allocations: 0.5998 MB / 1.221 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/1.78, allocations: 479.3 kB / 1.221 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of SimCode: time 2.145e-06/1.78, allocations: 0 / 1.221 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/1.901, allocations: 34.21 MB / 1.255 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/1.901, allocations: 221.4 kB / 1.255 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.422/5.323, allocations: 0 / 1.255 GB, free: 7.512 MB / 0.8698 GB