Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.855/1.855, allocations: 288.2 MB / 303.2 MB, free: 8.254 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.001026/0.001026, allocations: 169.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009097/0.0009103, allocations: 93.28 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004543, allocations: 16.25 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2409, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02443/0.2654, allocations: 28.69 MB / 1.008 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.2837, allocations: 9.844 MB / 1.017 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003349/0.2871, allocations: 127.1 kB / 1.017 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.2895, allocations: 0.6328 MB / 1.018 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005542/0.295, allocations: 1.262 MB / 1.019 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005857/0.3009, allocations: 1.277 MB / 1.02 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007424/0.3084, allocations: 3.441 MB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01947/0.3279, allocations: 10.32 MB / 1.034 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00622/0.3342, allocations: 1.977 MB / 1.036 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005554/0.3398, allocations: 1.981 MB / 1.038 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.3414, allocations: 267.9 kB / 1.038 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.3449, allocations: 0.6984 MB / 1.039 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003206/0.3481, allocations: 1.867 MB / 1.04 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.3505, allocations: 0.9563 MB / 1.041 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.3644, allocations: 8.213 MB / 1.049 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3645, allocations: 0 / 1.049 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.926e-06/0.3645, allocations: 0 / 1.049 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003037/0.3648, allocations: 0 / 1.049 GB, free: 3.855 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0153/0.3801, allocations: 4.031 MB / 1.053 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/0.3802, allocations: 12.03 kB / 1.053 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003008/0.3832, allocations: 0.6818 MB / 1.054 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008752/0.392, allocations: 0.9112 MB / 1.055 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009686/0.4017, allocations: 2.796 MB / 1.058 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004876/0.4023, allocations: 353.3 kB / 1.058 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/0.4043, allocations: 475.7 kB / 1.058 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/0.4256, allocations: 7.585 MB / 1.066 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/0.4258, allocations: 23.78 kB / 1.066 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004998/0.4263, allocations: 207.9 kB / 1.066 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003817/0.4267, allocations: 309 kB / 1.066 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.509/0.9357, allocations: 5.672 MB / 1.072 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04936/0.9851, allocations: 35.13 MB / 1.106 GB, free: 50.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.9882, allocations: 2.152 MB / 1.108 GB, free: 49.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.9883, allocations: 18.84 kB / 1.108 GB, free: 49.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.9884, allocations: 48.94 kB / 1.108 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=133): time 3.927e-06/0.9884, allocations: 0 / 1.108 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.01428/1.003, allocations: 7.08 MB / 1.115 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/1.003, allocations: 65.81 kB / 1.115 GB, free: 44.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/1.006, allocations: 1.465 MB / 1.117 GB, free: 44.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.006, allocations: 46.86 kB / 1.117 GB, free: 44.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.007, allocations: 2.004 MB / 1.119 GB, free: 42.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000418/1.007, allocations: 487.2 kB / 1.119 GB, free: 41.89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/1.008, allocations: 44.81 kB / 1.119 GB, free: 41.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.008, allocations: 377.6 kB / 1.12 GB, free: 41.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.009, allocations: 0.9017 MB / 1.12 GB, free: 41.03 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.011, allocations: 1.589 MB / 1.122 GB, free: 39.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/1.013, allocations: 1.174 MB / 1.123 GB, free: 38.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/1.013, allocations: 7.812 kB / 1.123 GB, free: 38.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006033/1.019, allocations: 3.514 MB / 1.127 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/1.019, allocations: 18.44 kB / 1.127 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.004e-05/1.019, allocations: 25.97 kB / 1.127 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/1.021, allocations: 0.8904 MB / 1.128 GB, free: 36.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.023, allocations: 353.8 kB / 1.128 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/1.042, allocations: 21.53 MB / 1.149 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/1.044, allocations: 104.8 kB / 1.149 GB, free: 16.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/1.044, allocations: 82.19 kB / 1.149 GB, free: 16.63 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004106/1.049, allocations: 1.608 MB / 1.151 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007271/1.049, allocations: 208.7 kB / 1.151 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/1.055, allocations: 2.979 MB / 1.154 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/1.055, allocations: 13.16 kB / 1.154 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/1.055, allocations: 13.89 kB / 1.154 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.055, allocations: 9.406 kB / 1.154 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.067, allocations: 7.328 MB / 1.161 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.067, allocations: 3.75 kB / 1.161 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/1.068, allocations: 180.7 kB / 1.161 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/1.07, allocations: 0.8192 MB / 1.162 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.07, allocations: 30.86 kB / 1.162 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01753/1.088, allocations: 20.64 MB / 1.182 GB, free: 2.582 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.088, allocations: 8 kB / 1.182 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005678/1.093, allocations: 3.304 MB / 1.185 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.095, allocations: 462.5 kB / 1.186 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/1.095, allocations: 28 kB / 1.186 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/1.096, allocations: 71.91 kB / 1.186 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/1.096, allocations: 120.7 kB / 1.186 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/1.096, allocations: 40 kB / 1.186 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001389/1.097, allocations: 0.9561 MB / 1.187 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/1.097, allocations: 4 kB / 1.187 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003187/1.101, allocations: 0.7812 MB / 1.188 GB, free: 12.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005662/1.106, allocations: 5.059 MB / 1.193 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0062/1.112, allocations: 4.004 MB / 1.197 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.112, allocations: 3.375 kB / 1.197 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004034/1.117, allocations: 2.733 MB / 1.199 GB, free: 220 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/1.12, allocations: 0.6383 MB / 1.2 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04389/1.164, allocations: 34.03 MB / 1.233 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004499/1.168, allocations: 3.189 MB / 1.236 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001861/1.17, allocations: 454 kB / 1.237 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/1.173, allocations: 1.546 MB / 1.238 GB, free: 7.051 MB / 0.7605 GB Notification: Performance of SimCode: time 1.583e-06/1.173, allocations: 0 / 1.238 GB, free: 7.051 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.279, allocations: 59.02 MB / 1.296 GB, free: 12.58 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/1.279, allocations: 227 kB / 1.296 GB, free: 12.35 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.651/4.93, allocations: 7.031 kB / 1.296 GB, free: 12.34 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)