Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.ACLine_RL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.721/2.721, allocations: 251 MB / 265.9 MB, free: 11.7 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.001586/0.001586, allocations: 178 kB / 325.5 MB, free: 2.898 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.427/2.427, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001175/0.001175, allocations: 102.5 kB / 0.6809 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004854, allocations: 13.53 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2021, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9998/1.202, allocations: 174.8 MB / 1.07 GB, free: 66.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.202, allocations: 99.03 kB / 1.07 GB, free: 66.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1289/1.331, allocations: 31.42 MB / 1.1 GB, free: 62.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/1.331, allocations: 0 / 1.1 GB, free: 62.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.56e-05/1.331, allocations: 15.62 kB / 1.1 GB, free: 62.91 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002264/1.334, allocations: 0.8789 MB / 1.101 GB, free: 62.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.334, allocations: 7.812 kB / 1.101 GB, free: 62.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000353/1.334, allocations: 100.8 kB / 1.101 GB, free: 62.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/1.337, allocations: 190.8 kB / 1.102 GB, free: 62.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/1.338, allocations: 0.4922 MB / 1.102 GB, free: 61.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/1.338, allocations: 34.72 kB / 1.102 GB, free: 61.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/1.339, allocations: 64.88 kB / 1.102 GB, free: 61.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/1.34, allocations: 0.8674 MB / 1.103 GB, free: 61.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/1.34, allocations: 3.938 kB / 1.103 GB, free: 61.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/1.341, allocations: 24.69 kB / 1.103 GB, free: 61.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.421e-05/1.341, allocations: 46.95 kB / 1.103 GB, free: 61.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/1.342, allocations: 0.5656 MB / 1.104 GB, free: 61.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006191/1.348, allocations: 4.611 MB / 1.108 GB, free: 58.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/1.349, allocations: 285 kB / 1.108 GB, free: 58.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/1.349, allocations: 7.922 kB / 1.108 GB, free: 58.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.349, allocations: 37.41 kB / 1.108 GB, free: 58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.306e-06/1.349, allocations: 0 / 1.108 GB, free: 58 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.009156/1.358, allocations: 2.643 MB / 1.111 GB, free: 57.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/1.358, allocations: 56.09 kB / 1.111 GB, free: 57.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/1.359, allocations: 396.8 kB / 1.111 GB, free: 57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-05/1.359, allocations: 36.67 kB / 1.111 GB, free: 56.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/1.36, allocations: 334.7 kB / 1.112 GB, free: 56.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/1.36, allocations: 139.6 kB / 1.112 GB, free: 56.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/1.36, allocations: 10.34 kB / 1.112 GB, free: 56.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.36, allocations: 370.6 kB / 1.112 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/1.361, allocations: 235.7 kB / 1.112 GB, free: 56.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/1.361, allocations: 383.6 kB / 1.113 GB, free: 56.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/1.362, allocations: 287.7 kB / 1.113 GB, free: 56.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.362, allocations: 1.469 kB / 1.113 GB, free: 56.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002954/1.365, allocations: 0.8988 MB / 1.114 GB, free: 56.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/1.365, allocations: 7.953 kB / 1.114 GB, free: 56.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.365, allocations: 5.281 kB / 1.114 GB, free: 56.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/1.367, allocations: 228.5 kB / 1.114 GB, free: 55.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.368, allocations: 110.4 kB / 1.114 GB, free: 55.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006729/1.374, allocations: 5.008 MB / 1.119 GB, free: 52.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000915/1.375, allocations: 25.95 kB / 1.119 GB, free: 52.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/1.375, allocations: 22.72 kB / 1.119 GB, free: 52.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004816/1.376, allocations: 224.3 kB / 1.119 GB, free: 52.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/1.376, allocations: 69.83 kB / 1.12 GB, free: 52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/1.378, allocations: 0.7687 MB / 1.12 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.378, allocations: 7.875 kB / 1.12 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.378, allocations: 3.875 kB / 1.12 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.378, allocations: 0 / 1.12 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/1.382, allocations: 1.477 MB / 1.122 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/1.382, allocations: 0 / 1.122 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/1.383, allocations: 71.75 kB / 1.122 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/1.384, allocations: 207.3 kB / 1.122 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/1.384, allocations: 11.3 kB / 1.122 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00589/1.39, allocations: 4.943 MB / 1.127 GB, free: 47.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.39, allocations: 3.906 kB / 1.127 GB, free: 47.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/1.393, allocations: 1.208 MB / 1.128 GB, free: 47.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/1.393, allocations: 173.9 kB / 1.128 GB, free: 47.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.394, allocations: 15.66 kB / 1.128 GB, free: 47.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/1.394, allocations: 23.22 kB / 1.128 GB, free: 47.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.394, allocations: 46.66 kB / 1.128 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/1.394, allocations: 7.812 kB / 1.128 GB, free: 47.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004781/1.395, allocations: 312.2 kB / 1.129 GB, free: 47 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/1.395, allocations: 3.938 kB / 1.129 GB, free: 47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00103/1.396, allocations: 174.7 kB / 1.129 GB, free: 47 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003178/1.399, allocations: 2.254 MB / 1.131 GB, free: 45.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002332/1.401, allocations: 0.9945 MB / 1.132 GB, free: 45.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.986e-06/1.402, allocations: 7.75 kB / 1.132 GB, free: 45.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/1.403, allocations: 0.6745 MB / 1.133 GB, free: 44.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.404, allocations: 161.7 kB / 1.133 GB, free: 44.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008638/1.413, allocations: 6.822 MB / 1.139 GB, free: 40.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/1.414, allocations: 0.9568 MB / 1.14 GB, free: 39.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007098/1.414, allocations: 111.4 kB / 1.14 GB, free: 39.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/1.415, allocations: 212 kB / 1.141 GB, free: 39.41 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.415, allocations: 0 / 1.141 GB, free: 39.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04881/1.463, allocations: 13.22 MB / 1.154 GB, free: 33.23 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/1.464, allocations: 206.8 kB / 1.154 GB, free: 33 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.357, allocations: 5.719 kB / 1.154 GB, free: 33 MB / 0.698 GB