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.309/2.309, allocations: 248.5 MB / 261 MB, free: 6 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.001405/0.001405, allocations: 180.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 1.92/1.92, allocations: 205.2 MB / 0.571 GB, free: 11.85 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.001572/0.001571, allocations: 95.73 kB / 0.6754 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.353e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2019, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.217, allocations: 181.4 MB / 1.068 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/1.217, allocations: 95 kB / 1.068 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.155/1.372, allocations: 31.79 MB / 1.099 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.372, allocations: 0 / 1.099 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.354e-05/1.372, allocations: 23.94 kB / 1.099 GB, free: 9.66 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.001936/1.374, allocations: 0.8007 MB / 1.1 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.374, allocations: 12.03 kB / 1.1 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/1.374, allocations: 103.9 kB / 1.1 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1.377, allocations: 198.8 kB / 1.1 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/1.378, allocations: 498.1 kB / 1.101 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/1.378, allocations: 38.98 kB / 1.101 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/1.378, allocations: 63.38 kB / 1.101 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/1.38, allocations: 0.8611 MB / 1.102 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/1.38, allocations: 7.938 kB / 1.102 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/1.38, allocations: 28.36 kB / 1.102 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/1.381, allocations: 44.92 kB / 1.102 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/1.382, allocations: 0.5617 MB / 1.102 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006959/1.389, allocations: 4.6 MB / 1.107 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/1.39, allocations: 283.3 kB / 1.107 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/1.39, allocations: 226 kB / 1.107 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/1.39, allocations: 0 / 1.107 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/1.39, allocations: 38 kB / 1.107 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/1.39, allocations: 0 / 1.107 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.007737/1.398, allocations: 2.209 MB / 1.109 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/1.398, allocations: 55.41 kB / 1.109 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007097/1.399, allocations: 399.9 kB / 1.11 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/1.399, allocations: 33.7 kB / 1.11 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/1.399, allocations: 339.8 kB / 1.11 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/1.4, allocations: 138 kB / 1.11 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/1.4, allocations: 12 kB / 1.11 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.4, allocations: 358.8 kB / 1.111 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/1.4, allocations: 233 kB / 1.111 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007428/1.401, allocations: 380.5 kB / 1.111 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/1.402, allocations: 285.4 kB / 1.111 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/1.402, allocations: 0 / 1.111 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002901/1.405, allocations: 0.89 MB / 1.112 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.405, allocations: 8 kB / 1.112 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.405, allocations: 4.562 kB / 1.112 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/1.406, allocations: 222.4 kB / 1.113 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/1.407, allocations: 107.8 kB / 1.113 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007383/1.415, allocations: 4.927 MB / 1.117 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/1.416, allocations: 27.97 kB / 1.117 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/1.416, allocations: 23.95 kB / 1.118 GB, free: 6.914 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.0002215/1.416, allocations: 143.6 kB / 1.118 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/1.416, allocations: 55.34 kB / 1.118 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/1.419, allocations: 0.7695 MB / 1.118 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.419, allocations: 7.984 kB / 1.118 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.419, allocations: 4.125 kB / 1.118 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/1.419, allocations: 3.938 kB / 1.118 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/1.423, allocations: 1.474 MB / 1.12 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.423, allocations: 8.203 kB / 1.12 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/1.423, allocations: 67.95 kB / 1.12 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001239/1.425, allocations: 210.3 kB / 1.12 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/1.425, allocations: 8 kB / 1.12 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007235/1.432, allocations: 4.854 MB / 1.125 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.432, allocations: 3.938 kB / 1.125 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/1.436, allocations: 1.2 MB / 1.126 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/1.437, allocations: 180.4 kB / 1.126 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/1.437, allocations: 11.98 kB / 1.126 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009547/1.438, allocations: 23.97 kB / 1.126 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.438, allocations: 43.84 kB / 1.126 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/1.438, allocations: 8 kB / 1.126 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001054/1.439, allocations: 309.6 kB / 1.127 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.81e-07/1.439, allocations: 0 / 1.127 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001976/1.441, allocations: 180 kB / 1.127 GB, free: 12.75 MB / 0.7448 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.005997/1.447, allocations: 2.25 MB / 1.129 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003851/1.451, allocations: 0.9805 MB / 1.13 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.451, allocations: 0 / 1.13 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/1.454, allocations: 0.6679 MB / 1.131 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/1.456, allocations: 169.8 kB / 1.131 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/1.461, allocations: 1.114 MB / 1.132 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/1.462, allocations: 0.965 MB / 1.133 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000999/1.463, allocations: 112.9 kB / 1.133 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/1.464, allocations: 215.4 kB / 1.133 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of SimCode: time 1.684e-06/1.464, allocations: 0 / 1.133 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05869/1.522, allocations: 13.25 MB / 1.146 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003504/1.523, allocations: 201.1 kB / 1.146 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/4.361, allocations: 0 / 1.146 GB, free: 8.828 MB / 0.7605 GB