Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001769/0.001769, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.486/1.486, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.874/1.874, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001599/0.001599, allocations: 75.81 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2427, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.401/0.6438, allocations: 20.16 MB / 0.8037 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.6546, allocations: 6.49 MB / 0.8101 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.657, allocations: 88 kB / 0.8102 GB, free: 35.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005409/0.6625, allocations: 2.239 MB / 0.8123 GB, free: 33.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.6661, allocations: 1.176 MB / 0.8135 GB, free: 32.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.6696, allocations: 1.282 MB / 0.8147 GB, free: 32.26 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006464/0.6761, allocations: 4.846 MB / 0.8195 GB, free: 30.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00859/0.6847, allocations: 5.636 MB / 0.825 GB, free: 28.03 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004309/0.6891, allocations: 2.077 MB / 0.827 GB, free: 27.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004687/0.6938, allocations: 2.342 MB / 0.8293 GB, free: 26.05 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001689/0.6955, allocations: 430.2 kB / 0.8297 GB, free: 26.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.6991, allocations: 1.003 MB / 0.8307 GB, free: 25.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003262/0.7024, allocations: 1.669 MB / 0.8323 GB, free: 25.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004915/0.7073, allocations: 1.916 MB / 0.8342 GB, free: 23.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01/0.7173, allocations: 6.474 MB / 0.8405 GB, free: 21.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.7174, allocations: 0 / 0.8405 GB, free: 21.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7174, allocations: 0 / 0.8405 GB, free: 21.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001882/0.7176, allocations: 5.188 kB / 0.8405 GB, free: 21.85 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009515/0.7271, allocations: 3.451 MB / 0.8439 GB, free: 19.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7272, allocations: 9.906 kB / 0.8439 GB, free: 19.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003861/0.731, allocations: 0.6421 MB / 0.8445 GB, free: 19.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/0.7348, allocations: 1.933 MB / 0.8464 GB, free: 18.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.735, allocations: 222.4 kB / 0.8466 GB, free: 18.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007152/0.7357, allocations: 292 kB / 0.8469 GB, free: 18.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008676/0.7444, allocations: 4.9 MB / 0.8517 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.372e-05/0.7445, allocations: 21.31 kB / 0.8517 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.7448, allocations: 125.8 kB / 0.8518 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000444/0.7453, allocations: 227.9 kB / 0.852 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006585/0.7519, allocations: 3.749 MB / 0.8557 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02419/0.7761, allocations: 21.56 MB / 0.8768 GB, free: 9.125 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.7782, allocations: 1.311 MB / 0.878 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.7798, allocations: 1.054 MB / 0.8791 GB, free: 7.789 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-05/0.7799, allocations: 13 kB / 0.8791 GB, free: 7.773 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.78, allocations: 51.5 kB / 0.8791 GB, free: 7.715 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 2.976e-06/0.78, allocations: 0 / 0.8791 GB, free: 7.715 MB / 0.67 GB Notification: Performance of matching and sorting (n=138): time 0.0255/0.8055, allocations: 8.644 MB / 0.8876 GB, free: 15 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.8056, allocations: 64.72 kB / 0.8876 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.8074, allocations: 1.134 MB / 0.8887 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.8076, allocations: 49.7 kB / 0.8888 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008732/0.8085, allocations: 1.3 MB / 0.8901 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004874/0.809, allocations: 485 kB / 0.8905 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005682/0.8096, allocations: 291.3 kB / 0.8908 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.8097, allocations: 305.1 kB / 0.8911 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.811, allocations: 0.9096 MB / 0.892 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.8126, allocations: 1.33 MB / 0.8933 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/0.8156, allocations: 2.433 MB / 0.8957 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.8156, allocations: 4 kB / 0.8957 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005991/0.8216, allocations: 3.46 MB / 0.899 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.8217, allocations: 12.19 kB / 0.899 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.8217, allocations: 16 kB / 0.8991 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/0.8249, allocations: 1.19 MB / 0.9002 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/0.8259, allocations: 255.6 kB / 0.9005 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.8431, allocations: 13.85 MB / 0.914 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.8446, allocations: 92.34 kB / 0.9141 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.8449, allocations: 60 kB / 0.9141 GB, free: 2.965 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002164/0.8471, allocations: 1.114 MB / 0.9152 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.8475, allocations: 162.1 kB / 0.9154 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005653/0.8532, allocations: 3.173 MB / 0.9185 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.8532, allocations: 12 kB / 0.9185 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/0.8532, allocations: 19.88 kB / 0.9185 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.8533, allocations: 15.91 kB / 0.9185 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.8642, allocations: 6.237 MB / 0.9246 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.8642, allocations: 4 kB / 0.9246 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.8648, allocations: 147.8 kB / 0.9248 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002832/0.8677, allocations: 1.085 MB / 0.9258 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.8678, allocations: 31.98 kB / 0.9259 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/0.884, allocations: 13.55 MB / 0.9391 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.8841, allocations: 4 kB / 0.9391 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/0.8895, allocations: 3.158 MB / 0.9422 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009832/0.8905, allocations: 427.1 kB / 0.9426 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004245/0.8909, allocations: 27.94 kB / 0.9426 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.892, allocations: 83.89 kB / 0.9427 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.8924, allocations: 120.7 kB / 0.9428 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/0.8925, allocations: 36 kB / 0.9428 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001133/0.8936, allocations: 0.7749 MB / 0.9436 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8936, allocations: 0 / 0.9436 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002346/0.896, allocations: 0.6562 MB / 0.9442 GB, free: 3.441 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002658/0.8963, allocations: 151 kB / 0.9444 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005783/0.902, allocations: 3.637 MB / 0.9479 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.9021, allocations: 0 / 0.9479 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002943/0.905, allocations: 1.948 MB / 0.9498 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.9079, allocations: 0.4915 MB / 0.9503 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.9191, allocations: 5.864 MB / 0.956 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003013/0.9221, allocations: 2.391 MB / 0.9584 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.9226, allocations: 95.42 kB / 0.9585 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/0.9226, allocations: 0 / 0.9585 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of Templates: time 0.09722/1.02, allocations: 79.45 MB / 1.036 GB, free: 5.332 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)