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.001586/0.001585, allocations: 106.7 kB / 16.27 MB, free: 5.984 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.001795/0.001795, allocations: 189 kB / 17.2 MB, free: 5.609 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.39/1.39, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.764/1.764, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001591/0.001592, allocations: 71.89 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.244, allocations: 114.5 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.5048/0.7489, allocations: 35.01 MB / 0.8182 GB, free: 28.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.7671, allocations: 9.995 MB / 0.828 GB, free: 22.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005223/0.7723, allocations: 148 kB / 0.8281 GB, free: 22.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.7826, allocations: 3.794 MB / 0.8318 GB, free: 19.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007366/0.79, allocations: 2.044 MB / 0.8338 GB, free: 18.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00633/0.7964, allocations: 1.956 MB / 0.8357 GB, free: 17.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.808, allocations: 7.968 MB / 0.8435 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01519/0.8233, allocations: 9.594 MB / 0.8529 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00794/0.8313, allocations: 3.352 MB / 0.8562 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007974/0.8393, allocations: 3.739 MB / 0.8598 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003495/0.8428, allocations: 0.6795 MB / 0.8605 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007358/0.8502, allocations: 1.437 MB / 0.8619 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006005/0.8562, allocations: 2.622 MB / 0.8644 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00943/0.8657, allocations: 3.107 MB / 0.8675 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.8815, allocations: 10.31 MB / 0.8775 GB, free: 11.28 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.8816, allocations: 4 kB / 0.8776 GB, free: 11.28 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8816, allocations: 0 / 0.8776 GB, free: 11.28 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000399/0.882, allocations: 0 / 0.8776 GB, free: 11.28 MB / 0.67 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.01944/0.9015, allocations: 5.405 MB / 0.8828 GB, free: 5.801 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.9015, allocations: 8.031 kB / 0.8828 GB, free: 5.793 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007449/0.909, allocations: 0.9548 MB / 0.8838 GB, free: 4.828 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007562/0.9166, allocations: 2.995 MB / 0.8867 GB, free: 1.777 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.917, allocations: 357.9 kB / 0.887 GB, free: 1.426 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/0.919, allocations: 476.2 kB / 0.8875 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.9382, allocations: 7.918 MB / 0.8952 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.9383, allocations: 15.88 kB / 0.8952 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.9394, allocations: 212 kB / 0.8954 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005369/0.94, allocations: 369.1 kB / 0.8958 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.9527, allocations: 5.937 MB / 0.9016 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0413/0.994, allocations: 36.22 MB / 0.937 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/0.9974, allocations: 2.142 MB / 0.9391 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.9993, allocations: 1.477 MB / 0.9405 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.943e-05/0.9993, allocations: 21.3 kB / 0.9405 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.9994, allocations: 59.81 kB / 0.9406 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.075e-06/0.9994, allocations: 0 / 0.9406 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01383/1.013, allocations: 7.529 MB / 0.9479 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/1.013, allocations: 72.66 kB / 0.948 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/1.016, allocations: 1.868 MB / 0.9498 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/1.016, allocations: 53.7 kB / 0.9499 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/1.017, allocations: 2.123 MB / 0.9519 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005612/1.018, allocations: 0.5623 MB / 0.9525 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000597/1.018, allocations: 399.8 kB / 0.9529 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/1.019, allocations: 301.1 kB / 0.9532 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/1.02, allocations: 1.058 MB / 0.9542 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.022, allocations: 1.764 MB / 0.9559 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/1.025, allocations: 3.056 MB / 0.9589 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.025, allocations: 4 kB / 0.9589 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006256/1.032, allocations: 3.925 MB / 0.9627 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/1.032, allocations: 12 kB / 0.9627 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/1.032, allocations: 28.09 kB / 0.9628 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002337/1.034, allocations: 0.9233 MB / 0.9637 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/1.036, allocations: 431.8 kB / 0.9641 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/1.055, allocations: 22.77 MB / 0.9863 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/1.057, allocations: 119.9 kB / 0.9864 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.058, allocations: 95.98 kB / 0.9865 GB, free: 5.137 MB / 0.7794 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.003054/1.061, allocations: 1.652 MB / 0.9881 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006368/1.061, allocations: 253.1 kB / 0.9884 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005358/1.067, allocations: 3.264 MB / 0.9916 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/1.067, allocations: 19.98 kB / 0.9916 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/1.067, allocations: 12 kB / 0.9916 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.067, allocations: 7.969 kB / 0.9916 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.079, allocations: 7.552 MB / 0.999 GB, free: 8.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.079, allocations: 7.984 kB / 0.999 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/1.08, allocations: 220.2 kB / 0.9992 GB, free: 7.934 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/1.083, allocations: 0.8921 MB / 1 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.083, allocations: 36 kB / 1 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/1.105, allocations: 22.72 MB / 1.022 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/1.105, allocations: 9.906 kB / 1.022 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/1.11, allocations: 3.379 MB / 1.026 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.112, allocations: 0.5292 MB / 1.026 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/1.112, allocations: 32 kB / 1.026 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.113, allocations: 95.81 kB / 1.026 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004004/1.114, allocations: 144.9 kB / 1.026 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.114, allocations: 48 kB / 1.026 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001691/1.115, allocations: 1.225 MB / 1.028 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/1.115, allocations: 0 / 1.028 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003192/1.119, allocations: 0.9062 MB / 1.029 GB, free: 8.051 MB / 0.8262 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.0002875/1.119, allocations: 161 kB / 1.029 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008254/1.127, allocations: 5.197 MB / 1.034 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.127, allocations: 0 / 1.034 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004187/1.131, allocations: 2.989 MB / 1.037 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004/1.135, allocations: 0.8231 MB / 1.037 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.15, allocations: 8.327 MB / 1.046 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003556/1.154, allocations: 3.275 MB / 1.049 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007056/1.154, allocations: 159.4 kB / 1.049 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of SimCode: time 9.02e-07/1.154, allocations: 4 kB / 1.049 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of Templates: time 0.7382/1.892, allocations: 339.6 MB / 1.381 GB, free: 74.96 MB / 0.92 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)