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_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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_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.175/2.175, 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.001586/0.001586, allocations: 192.8 kB / 325.5 MB, free: 2.883 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.341/2.341, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001118/0.001117, allocations: 102.5 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005244, allocations: 20.12 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2254, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9077/1.133, allocations: 181.5 MB / 1.076 GB, free: 66.16 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/1.134, allocations: 103 kB / 1.076 GB, free: 66.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1218/1.255, allocations: 31.97 MB / 1.107 GB, free: 62.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.695e-06/1.255, allocations: 0 / 1.107 GB, free: 62.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.509e-05/1.256, allocations: 17.97 kB / 1.107 GB, free: 62.37 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.002299/1.258, allocations: 0.8808 MB / 1.108 GB, free: 61.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/1.258, allocations: 9.25 kB / 1.108 GB, free: 61.76 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002817/1.258, allocations: 99.47 kB / 1.108 GB, free: 61.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/1.261, allocations: 200.5 kB / 1.109 GB, free: 61.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/1.262, allocations: 0.4989 MB / 1.109 GB, free: 61.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/1.263, allocations: 35.69 kB / 1.109 GB, free: 61.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/1.263, allocations: 58.05 kB / 1.109 GB, free: 61.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/1.265, allocations: 0.8679 MB / 1.11 GB, free: 61.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.907e-05/1.265, allocations: 12.77 kB / 1.11 GB, free: 61.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.265, allocations: 26.91 kB / 1.11 GB, free: 61.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/1.265, allocations: 45.05 kB / 1.11 GB, free: 61.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/1.267, allocations: 0.5681 MB / 1.111 GB, free: 60.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006409/1.273, allocations: 4.604 MB / 1.115 GB, free: 57.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/1.274, allocations: 288.8 kB / 1.115 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/1.274, allocations: 7.906 kB / 1.115 GB, free: 57.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.274, allocations: 38.25 kB / 1.115 GB, free: 57.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.095e-06/1.274, allocations: 0 / 1.115 GB, free: 57.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.008916/1.283, allocations: 2.632 MB / 1.118 GB, free: 56.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/1.283, allocations: 55.34 kB / 1.118 GB, free: 56.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/1.284, allocations: 406.4 kB / 1.118 GB, free: 56.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/1.284, allocations: 33.02 kB / 1.118 GB, free: 56.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/1.284, allocations: 342.9 kB / 1.119 GB, free: 56.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.285, allocations: 136 kB / 1.119 GB, free: 56.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/1.285, allocations: 14.72 kB / 1.119 GB, free: 56.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.285, allocations: 363.2 kB / 1.119 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/1.285, allocations: 230.8 kB / 1.12 GB, free: 55.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/1.286, allocations: 389.2 kB / 1.12 GB, free: 55.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/1.286, allocations: 288.8 kB / 1.12 GB, free: 55.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.287, allocations: 3.844 kB / 1.12 GB, free: 55.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002619/1.289, allocations: 0.9022 MB / 1.121 GB, free: 55.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.289, allocations: 8 kB / 1.121 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.289, allocations: 7.906 kB / 1.121 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/1.291, allocations: 225.8 kB / 1.121 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/1.291, allocations: 109.9 kB / 1.121 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/1.298, allocations: 4.997 MB / 1.126 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/1.299, allocations: 35.31 kB / 1.126 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/1.299, allocations: 19.47 kB / 1.126 GB, free: 51.15 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.0004729/1.299, allocations: 236.2 kB / 1.127 GB, free: 51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.299, allocations: 54.56 kB / 1.127 GB, free: 50.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/1.302, allocations: 0.7842 MB / 1.127 GB, free: 50.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.302, allocations: 3.781 kB / 1.127 GB, free: 50.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.302, allocations: 3.906 kB / 1.127 GB, free: 50.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.302, allocations: 0 / 1.127 GB, free: 50.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003619/1.305, allocations: 1.481 MB / 1.129 GB, free: 50.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.305, allocations: 0 / 1.129 GB, free: 50.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/1.306, allocations: 71.05 kB / 1.129 GB, free: 50.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/1.307, allocations: 203.9 kB / 1.129 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/1.307, allocations: 15.02 kB / 1.129 GB, free: 49.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006011/1.313, allocations: 4.938 MB / 1.134 GB, free: 45.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.313, allocations: 3.906 kB / 1.134 GB, free: 45.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/1.316, allocations: 1.214 MB / 1.135 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/1.317, allocations: 174.3 kB / 1.135 GB, free: 45.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.317, allocations: 10.66 kB / 1.135 GB, free: 45.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000554/1.318, allocations: 27 kB / 1.135 GB, free: 45.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/1.318, allocations: 38.84 kB / 1.135 GB, free: 45.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/1.318, allocations: 19.34 kB / 1.135 GB, free: 45.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004845/1.318, allocations: 312.2 kB / 1.136 GB, free: 44.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.282e-06/1.318, allocations: 0 / 1.136 GB, free: 44.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000962/1.319, allocations: 181.6 kB / 1.136 GB, free: 44.98 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.003146/1.322, allocations: 2.256 MB / 1.138 GB, free: 43.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002341/1.325, allocations: 0.9888 MB / 1.139 GB, free: 42.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.325, allocations: 0 / 1.139 GB, free: 42.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.326, allocations: 0.6829 MB / 1.14 GB, free: 42.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.328, allocations: 167.8 kB / 1.14 GB, free: 42.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008879/1.337, allocations: 6.855 MB / 1.147 GB, free: 37.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/1.337, allocations: 0.9628 MB / 1.147 GB, free: 36.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006733/1.338, allocations: 111.4 kB / 1.148 GB, free: 36.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/1.338, allocations: 214.8 kB / 1.148 GB, free: 36.66 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/1.338, allocations: 0 / 1.148 GB, free: 36.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0518/1.39, allocations: 13.31 MB / 1.161 GB, free: 30.47 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/1.39, allocations: 222.9 kB / 1.161 GB, free: 30.24 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/4.32, allocations: 0 / 1.161 GB, free: 30.24 MB / 0.698 GB