Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.713/2.713, allocations: 287.3 MB / 302.3 MB, free: 8.426 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 194.4 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 85.38 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.00048, allocations: 16.22 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01825/0.2364, allocations: 12.47 MB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.2545, allocations: 9.435 MB / 0.9997 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.2562, allocations: 47.62 kB / 0.9997 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.2579, allocations: 274.1 kB / 1 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006939/0.2649, allocations: 1.463 MB / 1.001 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.2675, allocations: 0.5209 MB / 1.002 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004336/0.2718, allocations: 1.749 MB / 1.004 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004034/0.2759, allocations: 1.805 MB / 1.005 GB, free: 408 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.2789, allocations: 1.196 MB / 1.007 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.2812, allocations: 0.8522 MB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.2816, allocations: 68 kB / 1.007 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.2832, allocations: 391.4 kB / 1.008 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007516/0.284, allocations: 458.6 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006331/0.2846, allocations: 356.7 kB / 1.009 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003855/0.2885, allocations: 2.081 MB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2885, allocations: 0 / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.87e-06/0.2885, allocations: 0 / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.716e-05/0.2886, allocations: 3.938 kB / 1.011 GB, free: 11 MB / 0.6355 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.005896/0.2945, allocations: 1.835 MB / 1.012 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.2946, allocations: 16.02 kB / 1.012 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005924/0.2952, allocations: 190.2 kB / 1.013 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02226/0.3175, allocations: 2.19 MB / 1.015 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/0.3218, allocations: 1.155 MB / 1.016 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.322, allocations: 94.3 kB / 1.016 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005507/0.3226, allocations: 119.9 kB / 1.016 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.3335, allocations: 2.678 MB / 1.019 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.694e-05/0.3336, allocations: 11.84 kB / 1.019 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/0.3339, allocations: 51.98 kB / 1.019 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/0.3352, allocations: 194.1 kB / 1.019 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.3506, allocations: 2.83 MB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02728/0.3779, allocations: 10.57 MB / 1.032 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.3911, allocations: 2.387 MB / 1.034 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.3913, allocations: 12.94 kB / 1.034 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.3914, allocations: 43.56 kB / 1.034 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.697e-06/0.3914, allocations: 0 / 1.034 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.1158/0.5071, allocations: 16.5 MB / 1.051 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.5073, allocations: 64.72 kB / 1.051 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.5097, allocations: 1.16 MB / 1.052 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004054/0.5102, allocations: 49.7 kB / 1.052 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00088/0.5111, allocations: 0.7436 MB / 1.053 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009342/0.512, allocations: 0.516 MB / 1.053 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.5123, allocations: 36 kB / 1.053 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.5125, allocations: 361.9 kB / 1.053 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006938/0.5195, allocations: 1.526 MB / 1.055 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007147/0.5267, allocations: 1.788 MB / 1.057 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007068/0.5338, allocations: 1.646 MB / 1.058 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.5338, allocations: 4 kB / 1.058 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02575/0.5596, allocations: 5.296 MB / 1.063 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.5597, allocations: 11.94 kB / 1.063 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.5597, allocations: 4 kB / 1.063 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01279/0.5725, allocations: 1.888 MB / 1.065 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/0.5764, allocations: 431.2 kB / 1.066 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6954/1.272, allocations: 22.83 MB / 1.088 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/1.277, allocations: 316.3 kB / 1.088 GB, free: 70.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004501/1.277, allocations: 71.06 kB / 1.088 GB, free: 70.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001454/1.279, allocations: 462.2 kB / 1.089 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005699/1.279, allocations: 182 kB / 1.089 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02541/1.305, allocations: 5.345 MB / 1.094 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/1.305, allocations: 19.2 kB / 1.094 GB, free: 68.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.898e-05/1.305, allocations: 18.59 kB / 1.094 GB, free: 68.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.166e-05/1.305, allocations: 11.02 kB / 1.094 GB, free: 68.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03102/1.336, allocations: 7.452 MB / 1.102 GB, free: 66.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/1.336, allocations: 0 / 1.102 GB, free: 66.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/1.339, allocations: 365.5 kB / 1.102 GB, free: 66.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0108/1.35, allocations: 1.706 MB / 1.104 GB, free: 65.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003974/1.351, allocations: 39.16 kB / 1.104 GB, free: 65.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04145/1.392, allocations: 22.05 MB / 1.125 GB, free: 49.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.392, allocations: 7.812 kB / 1.125 GB, free: 49.42 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0223/1.414, allocations: 5.062 MB / 1.13 GB, free: 46.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.416, allocations: 0.4905 MB / 1.131 GB, free: 46.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/1.417, allocations: 28.75 kB / 1.131 GB, free: 46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004299/1.421, allocations: 327.4 kB / 1.131 GB, free: 45.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000843/1.422, allocations: 158.1 kB / 1.131 GB, free: 45.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/1.422, allocations: 51.25 kB / 1.131 GB, free: 45.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001692/1.424, allocations: 0.7778 MB / 1.132 GB, free: 45.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/1.424, allocations: 0 / 1.132 GB, free: 45.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003818/1.428, allocations: 0.6558 MB / 1.132 GB, free: 45.24 MB / 0.6823 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,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02227/1.45, allocations: 6.383 MB / 1.139 GB, free: 40.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0195/1.47, allocations: 5.193 MB / 1.144 GB, free: 36.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.47, allocations: 4 kB / 1.144 GB, free: 36.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01156/1.481, allocations: 3.361 MB / 1.147 GB, free: 33.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/1.485, allocations: 0.4969 MB / 1.148 GB, free: 32.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05339/1.538, allocations: 20.61 MB / 1.168 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/1.54, allocations: 1.607 MB / 1.169 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002605/1.542, allocations: 378.4 kB / 1.17 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.544, allocations: 0.6593 MB / 1.17 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/1.544, allocations: 7.938 kB / 1.17 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/1.706, allocations: 56.12 MB / 1.225 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/1.706, allocations: 220.8 kB / 1.225 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.419/6.125, allocations: 0 / 1.225 GB, free: 0.8281 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)