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.289/2.289, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001482/0.001482, allocations: 180.8 kB / 315.4 MB, free: 3.973 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.083/2.083, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 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.00103/0.00103, allocations: 89.8 kB / 0.6704 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.163e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2042, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9282/1.133, allocations: 181.7 MB / 1.062 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003628/1.133, allocations: 93.31 kB / 1.062 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1299/1.263, allocations: 31.66 MB / 1.093 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.304e-06/1.263, allocations: 4 kB / 1.093 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.491e-05/1.263, allocations: 27.92 kB / 1.093 GB, free: 13.16 MB / 0.7136 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.002068/1.265, allocations: 0.8045 MB / 1.093 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.265, allocations: 8.031 kB / 1.093 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/1.268, allocations: 210.3 kB / 1.094 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/1.269, allocations: 494.7 kB / 1.094 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/1.269, allocations: 16 kB / 1.094 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/1.27, allocations: 39.84 kB / 1.094 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001277/1.271, allocations: 463 kB / 1.095 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/1.273, allocations: 0.7944 MB / 1.095 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/1.273, allocations: 7.312 kB / 1.095 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.24e-05/1.273, allocations: 4 kB / 1.095 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/1.273, allocations: 52.3 kB / 1.095 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007103/1.28, allocations: 4.477 MB / 1.1 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/1.281, allocations: 279.2 kB / 1.1 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004589/1.281, allocations: 211.8 kB / 1.1 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.393e-05/1.281, allocations: 11.94 kB / 1.1 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/1.281, allocations: 38.44 kB / 1.1 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.376e-06/1.281, allocations: 0 / 1.1 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.006341/1.288, allocations: 1.975 MB / 1.102 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.288, allocations: 59.34 kB / 1.102 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/1.288, allocations: 334.1 kB / 1.103 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/1.289, allocations: 25.7 kB / 1.103 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/1.289, allocations: 344.1 kB / 1.103 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/1.289, allocations: 133.1 kB / 1.103 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/1.289, allocations: 0 / 1.103 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.289, allocations: 365.4 kB / 1.103 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/1.29, allocations: 218.7 kB / 1.104 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/1.29, allocations: 365.8 kB / 1.104 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/1.291, allocations: 270.8 kB / 1.104 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.291, allocations: 0 / 1.104 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002597/1.294, allocations: 0.8246 MB / 1.105 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/1.294, allocations: 11.98 kB / 1.105 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.294, allocations: 4 kB / 1.105 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/1.295, allocations: 215.1 kB / 1.105 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009499/1.296, allocations: 115.3 kB / 1.105 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006834/1.303, allocations: 4.73 MB / 1.11 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/1.304, allocations: 23.16 kB / 1.11 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.2e-05/1.304, allocations: 23.44 kB / 1.11 GB, free: 12.73 MB / 0.7292 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 () * 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.0001987/1.304, allocations: 116.8 kB / 1.11 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002093/1.306, allocations: 0.6759 MB / 1.111 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/1.306, allocations: 63.28 kB / 1.111 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/1.309, allocations: 0.7206 MB / 1.112 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.309, allocations: 4 kB / 1.112 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.309, allocations: 8.141 kB / 1.112 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/1.309, allocations: 3.984 kB / 1.112 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/1.312, allocations: 1.358 MB / 1.113 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.312, allocations: 7.984 kB / 1.113 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007287/1.313, allocations: 63.89 kB / 1.113 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/1.314, allocations: 204.3 kB / 1.113 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/1.314, allocations: 0 / 1.113 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006739/1.321, allocations: 4.672 MB / 1.118 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/1.321, allocations: 4 kB / 1.118 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/1.324, allocations: 1.161 MB / 1.119 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/1.324, allocations: 171.2 kB / 1.119 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.955e-05/1.325, allocations: 3.984 kB / 1.119 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/1.325, allocations: 19.97 kB / 1.119 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/1.325, allocations: 45.91 kB / 1.119 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/1.325, allocations: 8 kB / 1.119 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004404/1.326, allocations: 254.3 kB / 1.119 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/1.326, allocations: 0 / 1.119 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009561/1.327, allocations: 163.9 kB / 1.119 GB, free: 3.961 MB / 0.7292 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 () * 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.00338/1.33, allocations: 2.186 MB / 1.122 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00237/1.333, allocations: 0.9241 MB / 1.123 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.333, allocations: 0 / 1.123 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/1.334, allocations: 0.6386 MB / 1.123 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/1.335, allocations: 156.5 kB / 1.123 GB, free: 472 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/1.34, allocations: 1.08 MB / 1.124 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/1.341, allocations: 0.9648 MB / 1.125 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006826/1.342, allocations: 104.7 kB / 1.125 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/1.342, allocations: 211.4 kB / 1.126 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/1.342, allocations: 0 / 1.126 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06363/1.406, allocations: 11.96 MB / 1.137 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002988/1.406, allocations: 157 kB / 1.137 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/4.007, allocations: 0 / 1.137 GB, free: 1.969 MB / 0.7448 GB