Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001163/0.001162, allocations: 178.8 kB / 326.5 MB, free: 2.23 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.346/2.346, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.00101/0.00101, allocations: 94.3 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004904, allocations: 9 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2946, allocations: 106.3 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8123/1.107, allocations: 203.3 MB / 1.099 GB, free: 52.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/1.107, allocations: 100.9 kB / 1.099 GB, free: 52.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2001/1.308, allocations: 85.73 MB / 1.183 GB, free: 20.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.125e-06/1.308, allocations: 0 / 1.183 GB, free: 20.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001794/1.308, allocations: 51.62 kB / 1.183 GB, free: 20.55 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004743/1.313, allocations: 1.87 MB / 1.184 GB, free: 18.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.313, allocations: 8.031 kB / 1.184 GB, free: 18.76 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006713/1.313, allocations: 199.3 kB / 1.185 GB, free: 18.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/1.324, allocations: 1.96 MB / 1.187 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006349/1.331, allocations: 2.079 MB / 1.189 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.331, allocations: 84.36 kB / 1.189 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007498/1.332, allocations: 122 kB / 1.189 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006411/1.338, allocations: 2.73 MB / 1.191 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/1.338, allocations: 7.938 kB / 1.191 GB, free: 12.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/1.338, allocations: 58.08 kB / 1.191 GB, free: 12.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/1.339, allocations: 93.67 kB / 1.192 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00678/1.345, allocations: 2.839 MB / 1.194 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/1.359, allocations: 10.72 MB / 1.205 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006025/1.365, allocations: 2.383 MB / 1.207 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.655e-05/1.365, allocations: 12.91 kB / 1.207 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/1.365, allocations: 51.27 kB / 1.207 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=89): time 2.595e-06/1.365, allocations: 4 kB / 1.207 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=153): time 0.06113/1.426, allocations: 17.33 MB / 1.224 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/1.426, allocations: 226.9 kB / 1.224 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/1.428, allocations: 1.016 MB / 1.225 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004108/1.429, allocations: 53.7 kB / 1.225 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000599/1.429, allocations: 0.732 MB / 1.226 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005719/1.43, allocations: 0.5117 MB / 1.227 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/1.43, allocations: 28 kB / 1.227 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.43, allocations: 365.9 kB / 1.227 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/1.434, allocations: 1.542 MB / 1.228 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003934/1.438, allocations: 1.824 MB / 1.23 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/1.442, allocations: 1.661 MB / 1.232 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.442, allocations: 0 / 1.232 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01505/1.457, allocations: 5.413 MB / 1.237 GB, free: 484 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/1.457, allocations: 8 kB / 1.237 GB, free: 476 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.457, allocations: 8.75 kB / 1.237 GB, free: 468 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009322/1.466, allocations: 2.132 MB / 1.239 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.469, allocations: 423.2 kB / 1.24 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03241/1.501, allocations: 23.31 MB / 1.262 GB, free: 5.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/1.504, allocations: 323.5 kB / 1.263 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003643/1.504, allocations: 67.97 kB / 1.263 GB, free: 5.156 MB / 0.7605 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001271/1.506, allocations: 469.4 kB / 1.263 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000691/1.506, allocations: 177.9 kB / 1.263 GB, free: 4.512 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.521, allocations: 5.476 MB / 1.269 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/1.521, allocations: 16 kB / 1.269 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.321e-05/1.521, allocations: 23.98 kB / 1.269 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.932e-05/1.521, allocations: 3.984 kB / 1.269 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/1.542, allocations: 7.683 MB / 1.276 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/1.542, allocations: 7.938 kB / 1.276 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/1.544, allocations: 359.7 kB / 1.277 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008191/1.552, allocations: 1.993 MB / 1.279 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002938/1.553, allocations: 43.97 kB / 1.279 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02889/1.582, allocations: 22.49 MB / 1.301 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.582, allocations: 4 kB / 1.301 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/1.596, allocations: 5.239 MB / 1.306 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.598, allocations: 0.5104 MB / 1.306 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005724/1.598, allocations: 35.95 kB / 1.306 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/1.601, allocations: 327.5 kB / 1.307 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006478/1.602, allocations: 145 kB / 1.307 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002835/1.602, allocations: 55.97 kB / 1.307 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001509/1.603, allocations: 0.7899 MB / 1.308 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.5e-07/1.603, allocations: 4 kB / 1.308 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003184/1.607, allocations: 0.7187 MB / 1.308 GB, free: 5.203 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01456/1.621, allocations: 6.617 MB / 1.315 GB, free: 14.46 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.635, allocations: 5.213 MB / 1.32 GB, free: 9.137 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.635, allocations: 0 / 1.32 GB, free: 9.137 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008444/1.643, allocations: 3.398 MB / 1.323 GB, free: 5.641 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/1.646, allocations: 0.5014 MB / 1.324 GB, free: 5.145 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0432/1.69, allocations: 20.29 MB / 1.343 GB, free: 156 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/1.692, allocations: 1.604 MB / 1.345 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002337/1.694, allocations: 410.6 kB / 1.345 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.695, allocations: 0.6671 MB / 1.346 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of SimCode: time 1.001e-06/1.695, allocations: 0 / 1.346 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5618/2.257, allocations: 59.2 MB / 1.404 GB, free: 268.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/2.258, allocations: 237.8 kB / 1.404 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/6.131, allocations: 0 / 1.404 GB, free: 268.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)