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_R.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_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.21/2.21, 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.001476/0.001476, allocations: 181.2 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.155/2.155, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001126/0.001126, allocations: 89.83 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.474e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8926/1.096, allocations: 157.3 MB / 1.038 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003904/1.097, allocations: 94.19 kB / 1.038 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1502/1.247, allocations: 36.78 MB / 1.074 GB, free: 336 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/1.247, allocations: 0 / 1.074 GB, free: 336 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.372e-05/1.247, allocations: 23.98 kB / 1.074 GB, free: 312 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002981/1.25, allocations: 0.9579 MB / 1.075 GB, free: 15.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.25, allocations: 12.03 kB / 1.075 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/1.253, allocations: 242.6 kB / 1.075 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/1.254, allocations: 0.538 MB / 1.075 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/1.255, allocations: 20 kB / 1.076 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.255, allocations: 40 kB / 1.076 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001845/1.257, allocations: 0.5968 MB / 1.076 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/1.259, allocations: 1.025 MB / 1.077 GB, free: 13.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.11e-05/1.259, allocations: 3.906 kB / 1.077 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.259, allocations: 11.89 kB / 1.077 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/1.259, allocations: 56.91 kB / 1.077 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008747/1.268, allocations: 5.753 MB / 1.083 GB, free: 7.496 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/1.27, allocations: 0.5278 MB / 1.083 GB, free: 7.133 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006703/1.271, allocations: 311.3 kB / 1.084 GB, free: 6.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.795e-05/1.271, allocations: 4.438 kB / 1.084 GB, free: 6.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/1.271, allocations: 42.62 kB / 1.084 GB, free: 6.891 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.978e-06/1.271, allocations: 4 kB / 1.084 GB, free: 6.887 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.003471/1.274, allocations: 1.165 MB / 1.085 GB, free: 5.969 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.274, allocations: 55.84 kB / 1.085 GB, free: 5.902 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/1.275, allocations: 399.9 kB / 1.085 GB, free: 5.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/1.275, allocations: 29.7 kB / 1.085 GB, free: 5.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/1.275, allocations: 409.5 kB / 1.086 GB, free: 5.238 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/1.276, allocations: 162.5 kB / 1.086 GB, free: 5.098 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/1.276, allocations: 0 / 1.086 GB, free: 5.098 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.276, allocations: 373.1 kB / 1.086 GB, free: 4.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/1.276, allocations: 246.7 kB / 1.086 GB, free: 4.602 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/1.277, allocations: 439 kB / 1.087 GB, free: 4.199 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/1.278, allocations: 317.6 kB / 1.087 GB, free: 3.988 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.278, allocations: 8 kB / 1.087 GB, free: 3.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003057/1.281, allocations: 0.9622 MB / 1.088 GB, free: 3.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/1.281, allocations: 8 kB / 1.088 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/1.281, allocations: 8.75 kB / 1.088 GB, free: 3.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/1.282, allocations: 270.1 kB / 1.088 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/1.283, allocations: 115.6 kB / 1.088 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008482/1.292, allocations: 6.331 MB / 1.095 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.293, allocations: 27.64 kB / 1.095 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/1.293, allocations: 27.88 kB / 1.095 GB, free: 12.65 MB / 0.7136 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 (63): * Single equations (assignments): 59 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002033/1.293, allocations: 122.4 kB / 1.095 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002132/1.295, allocations: 0.7841 MB / 1.096 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/1.296, allocations: 67.2 kB / 1.096 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/1.298, allocations: 0.8254 MB / 1.096 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.298, allocations: 8 kB / 1.096 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.298, allocations: 4 kB / 1.096 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.298, allocations: 3.984 kB / 1.096 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/1.302, allocations: 1.567 MB / 1.098 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.302, allocations: 0 / 1.098 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/1.302, allocations: 59.89 kB / 1.098 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/1.304, allocations: 260.8 kB / 1.098 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/1.304, allocations: 8.062 kB / 1.098 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008319/1.312, allocations: 6.306 MB / 1.104 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/1.312, allocations: 7.969 kB / 1.104 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/1.315, allocations: 0.9974 MB / 1.105 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/1.315, allocations: 184.3 kB / 1.106 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/1.315, allocations: 7.938 kB / 1.106 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/1.316, allocations: 19.95 kB / 1.106 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.316, allocations: 47.84 kB / 1.106 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/1.316, allocations: 23.94 kB / 1.106 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005282/1.317, allocations: 302.9 kB / 1.106 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/1.317, allocations: 0 / 1.106 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001136/1.318, allocations: 203.9 kB / 1.106 GB, free: 1.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00289/1.321, allocations: 1.966 MB / 1.108 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002935/1.324, allocations: 1.173 MB / 1.109 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.324, allocations: 4 kB / 1.109 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/1.326, allocations: 0.8271 MB / 1.11 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/1.327, allocations: 170.1 kB / 1.11 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/1.331, allocations: 1.096 MB / 1.111 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008507/1.332, allocations: 1.028 MB / 1.112 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007492/1.332, allocations: 117.3 kB / 1.112 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/1.333, allocations: 251.3 kB / 1.113 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/1.333, allocations: 0 / 1.113 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0612/1.394, allocations: 14.6 MB / 1.127 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004248/1.395, allocations: 167 kB / 1.127 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/4.199, allocations: 0 / 1.127 GB, free: 12.27 MB / 0.7448 GB