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.222/2.222, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001397/0.001397, allocations: 172.8 kB / 320.4 MB, free: 15.35 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.038/2.038, allocations: 205.2 MB / 0.571 GB, free: 11.78 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.001131/0.001131, allocations: 104.7 kB / 0.6754 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.375e-05/4.387e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.142, allocations: 157.1 MB / 1.044 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/1.142, allocations: 105.5 kB / 1.044 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1581/1.3, allocations: 36.91 MB / 1.08 GB, free: 12.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.72e-06/1.3, allocations: 0 / 1.08 GB, free: 12.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001022/1.3, allocations: 31.92 kB / 1.08 GB, free: 12.38 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003387/1.304, allocations: 0.9572 MB / 1.081 GB, free: 11.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.304, allocations: 8.031 kB / 1.081 GB, free: 11.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003854/1.304, allocations: 123.6 kB / 1.081 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/1.307, allocations: 238.6 kB / 1.082 GB, free: 11.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/1.309, allocations: 0.5345 MB / 1.082 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/1.309, allocations: 49.94 kB / 1.082 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/1.309, allocations: 68.48 kB / 1.082 GB, free: 10.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/1.312, allocations: 1.118 MB / 1.083 GB, free: 9.504 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/1.312, allocations: 15.83 kB / 1.083 GB, free: 9.488 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/1.312, allocations: 33.88 kB / 1.083 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/1.312, allocations: 56.88 kB / 1.083 GB, free: 9.426 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/1.314, allocations: 0.7363 MB / 1.084 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009421/1.324, allocations: 5.909 MB / 1.09 GB, free: 3.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.325, allocations: 0.5529 MB / 1.09 GB, free: 2.797 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/1.326, allocations: 321.8 kB / 1.091 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.771e-05/1.326, allocations: 4.438 kB / 1.091 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/1.326, allocations: 41.94 kB / 1.091 GB, free: 2.547 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 9.829e-06/1.326, allocations: 3.984 kB / 1.091 GB, free: 2.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.003835/1.33, allocations: 1.232 MB / 1.092 GB, free: 1.406 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/1.33, allocations: 55.84 kB / 1.092 GB, free: 1.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/1.331, allocations: 495.4 kB / 1.092 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.331, allocations: 37.7 kB / 1.093 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/1.332, allocations: 407.2 kB / 1.093 GB, free: 416 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.332, allocations: 169.6 kB / 1.093 GB, free: 244 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.766e-05/1.332, allocations: 12 kB / 1.093 GB, free: 232 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002446/1.332, allocations: 374.8 kB / 1.093 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/1.333, allocations: 257.5 kB / 1.094 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008879/1.334, allocations: 460.1 kB / 1.094 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009113/1.335, allocations: 335.1 kB / 1.094 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.335, allocations: 3.953 kB / 1.094 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003242/1.338, allocations: 1.044 MB / 1.095 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/1.338, allocations: 8.094 kB / 1.095 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.338, allocations: 12 kB / 1.095 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/1.34, allocations: 271.2 kB / 1.096 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009968/1.341, allocations: 119.8 kB / 1.096 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.351, allocations: 6.576 MB / 1.102 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/1.352, allocations: 35.97 kB / 1.102 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/1.352, allocations: 28.23 kB / 1.102 GB, free: 6.094 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.0002564/1.353, allocations: 148.8 kB / 1.102 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/1.353, allocations: 71.16 kB / 1.103 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/1.357, allocations: 0.8844 MB / 1.103 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/1.357, allocations: 12.03 kB / 1.103 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/1.357, allocations: 7.984 kB / 1.103 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.357, allocations: 0 / 1.103 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/1.364, allocations: 1.706 MB / 1.105 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/1.364, allocations: 7.984 kB / 1.105 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007739/1.365, allocations: 60.02 kB / 1.105 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/1.367, allocations: 267.4 kB / 1.105 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/1.367, allocations: 11.98 kB / 1.105 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/1.381, allocations: 6.56 MB / 1.112 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.381, allocations: 4.094 kB / 1.112 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/1.385, allocations: 1.044 MB / 1.113 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000891/1.386, allocations: 200.1 kB / 1.113 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/1.386, allocations: 11.95 kB / 1.113 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.387, allocations: 31.97 kB / 1.113 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/1.387, allocations: 35.94 kB / 1.113 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/1.387, allocations: 19.94 kB / 1.113 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001081/1.389, allocations: 383.2 kB / 1.114 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.11e-07/1.389, allocations: 4 kB / 1.114 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002145/1.391, allocations: 232 kB / 1.114 GB, free: 9.652 MB / 0.7292 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.004812/1.396, allocations: 2.02 MB / 1.116 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004702/1.4, allocations: 1.236 MB / 1.117 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.4, allocations: 0 / 1.117 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00317/1.404, allocations: 0.8853 MB / 1.118 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.406, allocations: 198.9 kB / 1.118 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/1.412, allocations: 1.152 MB / 1.119 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.413, allocations: 1.032 MB / 1.12 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001212/1.414, allocations: 117.9 kB / 1.12 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/1.415, allocations: 251.4 kB / 1.12 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of SimCode: time 1.844e-06/1.415, allocations: 0 / 1.12 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07349/1.488, allocations: 16.33 MB / 1.136 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/1.489, allocations: 193.9 kB / 1.137 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/4.792, allocations: 0 / 1.137 GB, free: 2.246 MB / 0.7448 GB