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.181/2.181, allocations: 251 MB / 265.9 MB, free: 11.68 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.001484/0.001484, allocations: 176.4 kB / 325.5 MB, free: 2.891 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.371/2.371, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001633/0.001633, allocations: 99.05 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005084, allocations: 15.91 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2267, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.4948, allocations: 157.1 MB / 1.052 GB, free: 4.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003963/0.4953, allocations: 95.94 kB / 1.052 GB, free: 4.496 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7531/1.248, allocations: 37.14 MB / 1.089 GB, free: 146 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.407e-06/1.248, allocations: 0 / 1.089 GB, free: 146 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.8e-05/1.249, allocations: 19.69 kB / 1.089 GB, free: 146 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.002751/1.251, allocations: 1.047 MB / 1.09 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.251, allocations: 8.031 kB / 1.09 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003357/1.252, allocations: 126.5 kB / 1.09 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/1.254, allocations: 242.6 kB / 1.09 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/1.256, allocations: 0.5429 MB / 1.091 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/1.256, allocations: 53.98 kB / 1.091 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/1.256, allocations: 71.98 kB / 1.091 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/1.258, allocations: 1.119 MB / 1.092 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/1.259, allocations: 11.94 kB / 1.092 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/1.259, allocations: 35.98 kB / 1.092 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/1.259, allocations: 57.23 kB / 1.092 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/1.261, allocations: 0.7503 MB / 1.093 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007907/1.269, allocations: 5.917 MB / 1.098 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.27, allocations: 0.5486 MB / 1.099 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/1.27, allocations: 4.438 kB / 1.099 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/1.27, allocations: 39 kB / 1.099 GB, free: 135 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.456e-06/1.27, allocations: 0 / 1.099 GB, free: 135 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.006239/1.277, allocations: 1.992 MB / 1.101 GB, free: 132.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/1.277, allocations: 55.84 kB / 1.101 GB, free: 132.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008528/1.278, allocations: 495.3 kB / 1.101 GB, free: 132.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/1.278, allocations: 37.7 kB / 1.101 GB, free: 132.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/1.278, allocations: 399.2 kB / 1.102 GB, free: 131.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/1.278, allocations: 181.5 kB / 1.102 GB, free: 131.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/1.278, allocations: 12 kB / 1.102 GB, free: 131.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.278, allocations: 374.8 kB / 1.102 GB, free: 131.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/1.279, allocations: 265.2 kB / 1.103 GB, free: 131.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/1.28, allocations: 462.8 kB / 1.103 GB, free: 130.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008135/1.28, allocations: 338 kB / 1.103 GB, free: 130.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.28, allocations: 0 / 1.103 GB, free: 130.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002923/1.283, allocations: 1.059 MB / 1.104 GB, free: 129.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/1.284, allocations: 8 kB / 1.104 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.284, allocations: 8 kB / 1.104 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/1.285, allocations: 275.7 kB / 1.105 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009604/1.286, allocations: 119.8 kB / 1.105 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008279/1.294, allocations: 6.712 MB / 1.111 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.296, allocations: 35.95 kB / 1.111 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/1.296, allocations: 24 kB / 1.111 GB, free: 121.4 MB / 0.698 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 () * Number of clocked 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.0005973/1.296, allocations: 249.6 kB / 1.112 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/1.296, allocations: 71.16 kB / 1.112 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/1.299, allocations: 0.8887 MB / 1.113 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.299, allocations: 4 kB / 1.113 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/1.299, allocations: 4 kB / 1.113 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.299, allocations: 7.922 kB / 1.113 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004286/1.303, allocations: 1.718 MB / 1.114 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.303, allocations: 4.031 kB / 1.114 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/1.304, allocations: 67.89 kB / 1.114 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/1.305, allocations: 263.2 kB / 1.115 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.369e-05/1.305, allocations: 12 kB / 1.115 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007922/1.313, allocations: 6.686 MB / 1.121 GB, free: 110.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.313, allocations: 3.938 kB / 1.121 GB, free: 110.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/1.316, allocations: 1.048 MB / 1.122 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006529/1.317, allocations: 196.1 kB / 1.122 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/1.317, allocations: 19.94 kB / 1.122 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/1.318, allocations: 31.97 kB / 1.122 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.318, allocations: 35.95 kB / 1.122 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/1.318, allocations: 19.94 kB / 1.122 GB, free: 109.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006762/1.318, allocations: 391 kB / 1.123 GB, free: 108.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.318, allocations: 0 / 1.123 GB, free: 108.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001308/1.32, allocations: 228 kB / 1.123 GB, free: 108.7 MB / 0.698 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 () * Number of clocked 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.002728/1.323, allocations: 2.028 MB / 1.125 GB, free: 106.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002858/1.325, allocations: 1.252 MB / 1.126 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.325, allocations: 4.125 kB / 1.126 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/1.327, allocations: 0.8934 MB / 1.127 GB, free: 104.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.329, allocations: 182.8 kB / 1.127 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.34, allocations: 8.332 MB / 1.135 GB, free: 95.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006198/1.341, allocations: 1.028 MB / 1.136 GB, free: 94.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007821/1.342, allocations: 129.9 kB / 1.137 GB, free: 94.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/1.342, allocations: 251.4 kB / 1.137 GB, free: 94.2 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.342, allocations: 0 / 1.137 GB, free: 94.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05677/1.399, allocations: 16.37 MB / 1.153 GB, free: 78.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/1.399, allocations: 221.6 kB / 1.153 GB, free: 77.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/4.544, allocations: 0 / 1.153 GB, free: 77.92 MB / 0.698 GB