Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001175/0.001175, allocations: 186.4 kB / 16.25 MB, free: 6.578 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.603/1.603, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.728/1.728, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001422/0.001422, allocations: 66.17 kB / 0.671 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2915, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03637/0.3279, allocations: 34.69 MB / 0.8167 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02019/0.3481, allocations: 9.918 MB / 0.8264 GB, free: 1.148 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005826/0.354, allocations: 131.2 kB / 0.8266 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.3648, allocations: 3.555 MB / 0.83 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007853/0.3726, allocations: 1.878 MB / 0.8319 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006313/0.379, allocations: 1.785 MB / 0.8336 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.3912, allocations: 8.006 MB / 0.8414 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02089/0.4122, allocations: 11.69 MB / 0.8528 GB, free: 5.953 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007004/0.4192, allocations: 3.43 MB / 0.8562 GB, free: 2.512 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007353/0.4266, allocations: 3.914 MB / 0.86 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002657/0.4293, allocations: 0.6797 MB / 0.8607 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00535/0.4347, allocations: 1.44 MB / 0.8621 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005134/0.4398, allocations: 2.616 MB / 0.8646 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008097/0.4479, allocations: 3.104 MB / 0.8677 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01621/0.4642, allocations: 10.38 MB / 0.8778 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4642, allocations: 0 / 0.8778 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.816e-06/0.4642, allocations: 0 / 0.8778 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004388/0.4647, allocations: 4 kB / 0.8778 GB, free: 12.32 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01894/0.4836, allocations: 5.412 MB / 0.8831 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4837, allocations: 8.031 kB / 0.8831 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006939/0.4906, allocations: 0.9626 MB / 0.884 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008197/0.4989, allocations: 2.995 MB / 0.887 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005192/0.4994, allocations: 357.9 kB / 0.8873 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002379/0.5018, allocations: 468.2 kB / 0.8878 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/0.5208, allocations: 7.914 MB / 0.8955 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.521, allocations: 19.86 kB / 0.8955 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005904/0.5216, allocations: 212 kB / 0.8957 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004831/0.522, allocations: 369.1 kB / 0.8961 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.5332, allocations: 5.933 MB / 0.9018 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5904/1.124, allocations: 36.21 MB / 0.9372 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/1.127, allocations: 2.137 MB / 0.9393 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/1.13, allocations: 1.479 MB / 0.9407 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/1.13, allocations: 19.8 kB / 0.9408 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/1.13, allocations: 56.36 kB / 0.9408 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 4.618e-06/1.13, allocations: 0 / 0.9408 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01602/1.146, allocations: 7.532 MB / 0.9482 GB, free: 103 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.146, allocations: 72.73 kB / 0.9482 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004341/1.15, allocations: 1.859 MB / 0.9501 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004289/1.151, allocations: 61.05 kB / 0.9501 GB, free: 102.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/1.152, allocations: 2.126 MB / 0.9522 GB, free: 100.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007134/1.153, allocations: 0.5553 MB / 0.9527 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007271/1.154, allocations: 402.8 kB / 0.9531 GB, free: 99.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/1.154, allocations: 306.4 kB / 0.9534 GB, free: 99.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/1.156, allocations: 1.064 MB / 0.9544 GB, free: 99.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/1.157, allocations: 1.764 MB / 0.9562 GB, free: 97.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/1.161, allocations: 3.049 MB / 0.9591 GB, free: 95.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/1.161, allocations: 6.688 kB / 0.9592 GB, free: 95.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006681/1.167, allocations: 3.923 MB / 0.963 GB, free: 94.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/1.168, allocations: 16.97 kB / 0.963 GB, free: 94.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/1.168, allocations: 22.03 kB / 0.963 GB, free: 94.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/1.17, allocations: 0.9305 MB / 0.9639 GB, free: 93.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.171, allocations: 429.7 kB / 0.9643 GB, free: 93.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.187, allocations: 22.78 MB / 0.9866 GB, free: 73.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/1.189, allocations: 118.8 kB / 0.9867 GB, free: 73.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/1.19, allocations: 102.7 kB / 0.9868 GB, free: 73.11 MB / 0.7325 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002871/1.193, allocations: 1.647 MB / 0.9884 GB, free: 72.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007074/1.193, allocations: 258.8 kB / 0.9887 GB, free: 71.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/1.199, allocations: 3.271 MB / 0.9918 GB, free: 70 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.199, allocations: 15.5 kB / 0.9919 GB, free: 70 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/1.199, allocations: 11.66 kB / 0.9919 GB, free: 70 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/1.199, allocations: 7.969 kB / 0.9919 GB, free: 69.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/1.211, allocations: 7.546 MB / 0.9992 GB, free: 65.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.211, allocations: 7.438 kB / 0.9993 GB, free: 65.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008294/1.211, allocations: 214.6 kB / 0.9995 GB, free: 65.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/1.214, allocations: 0.8977 MB / 1 GB, free: 64.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/1.214, allocations: 31.66 kB / 1 GB, free: 64.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/1.228, allocations: 22.73 MB / 1.023 GB, free: 41.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.228, allocations: 11.94 kB / 1.023 GB, free: 41.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004798/1.233, allocations: 3.371 MB / 1.026 GB, free: 37.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.234, allocations: 0.5292 MB / 1.026 GB, free: 37.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/1.234, allocations: 39.92 kB / 1.026 GB, free: 36.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.235, allocations: 91.89 kB / 1.027 GB, free: 36.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003776/1.236, allocations: 141.2 kB / 1.027 GB, free: 36.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/1.236, allocations: 52 kB / 1.027 GB, free: 36.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001415/1.237, allocations: 1.221 MB / 1.028 GB, free: 35.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.237, allocations: 0 / 1.028 GB, free: 35.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002957/1.24, allocations: 0.9023 MB / 1.029 GB, free: 34.57 MB / 0.7325 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002651/1.241, allocations: 159 kB / 1.029 GB, free: 34.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006803/1.247, allocations: 5.206 MB / 1.034 GB, free: 29.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.248, allocations: 3.938 kB / 1.034 GB, free: 29.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/1.251, allocations: 2.99 MB / 1.037 GB, free: 25.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/1.255, allocations: 0.8234 MB / 1.038 GB, free: 25.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/1.269, allocations: 9.695 MB / 1.047 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002912/1.272, allocations: 3.213 MB / 1.05 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00229/1.274, allocations: 0.5293 MB / 1.051 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/1.274, allocations: 143.4 kB / 1.051 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.274, allocations: 0 / 1.051 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of Templates: time 0.07674/1.351, allocations: 43.15 MB / 1.093 GB, free: 0.9414 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)