Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 193.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.866/1.866, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.41 kB / 0.671 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2936, allocations: 114.5 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008452/0.3021, allocations: 6.143 MB / 0.7889 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005086/0.3073, allocations: 3.205 MB / 0.792 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005678/0.3079, allocations: 27.81 kB / 0.792 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.3101, allocations: 0.8833 MB / 0.7929 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.3113, allocations: 430 kB / 0.7933 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3125, allocations: 455.1 kB / 0.7937 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.3138, allocations: 1.104 MB / 0.7948 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000964/0.3147, allocations: 0.7172 MB / 0.7955 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005356/0.3153, allocations: 438.2 kB / 0.7959 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005107/0.3158, allocations: 494.1 kB / 0.7964 GB, free: 16 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.3159, allocations: 56.05 kB / 0.7964 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008419/0.3168, allocations: 490.9 kB / 0.7969 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.317, allocations: 295.2 kB / 0.7972 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.3174, allocations: 398 kB / 0.7976 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.3186, allocations: 1.207 MB / 0.7987 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3186, allocations: 11.94 kB / 0.7988 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3186, allocations: 0 / 0.7988 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.3186, allocations: 0 / 0.7988 GB, free: 13.58 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001515/0.3201, allocations: 1.06 MB / 0.7998 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3202, allocations: 12.03 kB / 0.7998 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.3216, allocations: 215.7 kB / 0.8 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/0.3223, allocations: 0.5415 MB / 0.8005 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.3223, allocations: 49.61 kB / 0.8006 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.3225, allocations: 64.36 kB / 0.8006 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.3238, allocations: 1.034 MB / 0.8017 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.3238, allocations: 15.83 kB / 0.8017 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.3239, allocations: 27.98 kB / 0.8017 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.267e-05/0.324, allocations: 73.27 kB / 0.8018 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009409/0.3249, allocations: 0.6879 MB / 0.8024 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.3294, allocations: 5.756 MB / 0.8081 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007817/0.3302, allocations: 0.6018 MB / 0.8086 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/0.331, allocations: 423.7 kB / 0.809 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.331, allocations: 4 kB / 0.8091 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.331, allocations: 34.56 kB / 0.8091 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.485e-06/0.331, allocations: 0 / 0.8091 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.00415/0.3352, allocations: 2.062 MB / 0.8111 GB, free: 164 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3353, allocations: 55.41 kB / 0.8112 GB, free: 96 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.3357, allocations: 462.9 kB / 0.8116 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.3358, allocations: 33.7 kB / 0.8116 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.336, allocations: 390.9 kB / 0.812 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3361, allocations: 157.7 kB / 0.8121 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.3363, allocations: 106.2 kB / 0.8123 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3364, allocations: 362.8 kB / 0.8126 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.3368, allocations: 253.2 kB / 0.8128 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.3372, allocations: 457 kB / 0.8133 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.3381, allocations: 0.748 MB / 0.814 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3381, allocations: 4 kB / 0.814 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00172/0.3398, allocations: 1.074 MB / 0.8151 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3398, allocations: 8 kB / 0.8151 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3399, allocations: 4 kB / 0.8151 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3409, allocations: 339.2 kB / 0.8154 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.3412, allocations: 95.88 kB / 0.8155 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007308/0.3485, allocations: 7.52 MB / 0.8228 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.349, allocations: 32.02 kB / 0.8229 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.3491, allocations: 28 kB / 0.8229 GB, free: 3.25 MB / 0.6387 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.3494, allocations: 244.9 kB / 0.8231 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.3495, allocations: 63.28 kB / 0.8232 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.3512, allocations: 0.9044 MB / 0.8241 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3512, allocations: 4 kB / 0.8241 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3512, allocations: 7.938 kB / 0.8241 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3512, allocations: 4 kB / 0.8241 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.3537, allocations: 1.708 MB / 0.8257 GB, free: 212 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3537, allocations: 8.188 kB / 0.8258 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.3539, allocations: 39.91 kB / 0.8258 GB, free: 164 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009384/0.3548, allocations: 327.2 kB / 0.8261 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.3548, allocations: 15.98 kB / 0.8261 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007021/0.3619, allocations: 7.514 MB / 0.8335 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.3619, allocations: 7.938 kB / 0.8335 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.3637, allocations: 1.003 MB / 0.8344 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.3639, allocations: 176.3 kB / 0.8346 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.364, allocations: 8 kB / 0.8346 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.3643, allocations: 23.97 kB / 0.8346 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.3644, allocations: 43.94 kB / 0.8347 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.3644, allocations: 12 kB / 0.8347 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003564/0.3648, allocations: 306.9 kB / 0.835 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3648, allocations: 4 kB / 0.835 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007946/0.3656, allocations: 195.9 kB / 0.8352 GB, free: 5.906 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002019/0.3658, allocations: 123.1 kB / 0.8353 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.3679, allocations: 1.246 MB / 0.8365 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.3679, allocations: 4 kB / 0.8365 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.3694, allocations: 0.8694 MB / 0.8374 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.371, allocations: 203.1 kB / 0.8376 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/0.3743, allocations: 1.533 MB / 0.8391 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/0.3751, allocations: 0.9882 MB / 0.84 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005048/0.3756, allocations: 101.3 kB / 0.8401 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3758, allocations: 39.38 kB / 0.8402 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/0.3758, allocations: 0 / 0.8402 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of Templates: time 0.02502/0.4008, allocations: 10.05 MB / 0.85 GB, free: 6.68 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)