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.001315/0.001315, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001438/0.001438, allocations: 184 kB / 17.22 MB, free: 5.934 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.534/1.534, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.802/1.802, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001438/0.001438, allocations: 75.89 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2455, allocations: 114.5 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.4309/0.6765, allocations: 35 MB / 0.8183 GB, free: 28.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.6936, allocations: 9.994 MB / 0.828 GB, free: 22.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004774/0.6984, allocations: 145.4 kB / 0.8282 GB, free: 22.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00933/0.7078, allocations: 3.811 MB / 0.8319 GB, free: 19.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006519/0.7143, allocations: 2.034 MB / 0.8339 GB, free: 18.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005506/0.7199, allocations: 1.955 MB / 0.8358 GB, free: 17.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0104/0.7303, allocations: 7.969 MB / 0.8436 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01249/0.7428, allocations: 9.588 MB / 0.8529 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.7495, allocations: 3.376 MB / 0.8562 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007397/0.757, allocations: 3.731 MB / 0.8599 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002778/0.7598, allocations: 0.6821 MB / 0.8605 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005856/0.7656, allocations: 1.447 MB / 0.862 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005633/0.7713, allocations: 2.619 MB / 0.8645 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006532/0.7778, allocations: 3.096 MB / 0.8675 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.7889, allocations: 10.38 MB / 0.8777 GB, free: 11.16 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.7889, allocations: 4 kB / 0.8777 GB, free: 11.16 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7889, allocations: 3.938 kB / 0.8777 GB, free: 11.16 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002279/0.7892, allocations: 0 / 0.8777 GB, free: 11.16 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.01153/0.8007, allocations: 5.401 MB / 0.8829 GB, free: 5.684 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.8008, allocations: 15.97 kB / 0.883 GB, free: 5.668 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.8053, allocations: 0.9587 MB / 0.8839 GB, free: 4.699 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/0.8105, allocations: 2.995 MB / 0.8868 GB, free: 1.648 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.8107, allocations: 353.9 kB / 0.8872 GB, free: 1.301 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007364/0.8115, allocations: 476.2 kB / 0.8876 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.8246, allocations: 7.914 MB / 0.8953 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.8247, allocations: 19.86 kB / 0.8954 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005076/0.8252, allocations: 208 kB / 0.8956 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004883/0.8257, allocations: 365.1 kB / 0.8959 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.8371, allocations: 5.937 MB / 0.9017 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03993/0.8771, allocations: 35.96 MB / 0.9368 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/0.8805, allocations: 2.146 MB / 0.9389 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.8824, allocations: 1.477 MB / 0.9404 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.325e-05/0.8825, allocations: 17.31 kB / 0.9404 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.8826, allocations: 55.81 kB / 0.9404 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 4.679e-06/0.8826, allocations: 0 / 0.9404 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01393/0.8965, allocations: 7.536 MB / 0.9478 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.8966, allocations: 68.72 kB / 0.9479 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.8992, allocations: 1.86 MB / 0.9497 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.8994, allocations: 57.7 kB / 0.9497 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.9007, allocations: 2.134 MB / 0.9518 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005098/0.9013, allocations: 0.5546 MB / 0.9524 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006162/0.9019, allocations: 403.8 kB / 0.9527 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.902, allocations: 301.1 kB / 0.953 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.9035, allocations: 1.058 MB / 0.9541 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.9056, allocations: 1.764 MB / 0.9558 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003748/0.9093, allocations: 3.055 MB / 0.9588 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.9093, allocations: 4 kB / 0.9588 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006546/0.9159, allocations: 3.92 MB / 0.9626 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.9159, allocations: 16 kB / 0.9626 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.816e-05/0.916, allocations: 24.84 kB / 0.9626 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/0.9185, allocations: 0.9271 MB / 0.9635 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.9199, allocations: 435.2 kB / 0.964 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02946/0.9494, allocations: 22.75 MB / 0.9862 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003454/0.9529, allocations: 127.9 kB / 0.9863 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004223/0.9534, allocations: 100 kB / 0.9864 GB, free: 5.293 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.004828/0.9582, allocations: 1.648 MB / 0.988 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009479/0.9592, allocations: 253.1 kB / 0.9882 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008438/0.9676, allocations: 3.263 MB / 0.9914 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.9677, allocations: 16 kB / 0.9914 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.923e-05/0.9677, allocations: 16.56 kB / 0.9915 GB, free: 36 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.9678, allocations: 7.969 kB / 0.9915 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/0.9869, allocations: 7.56 MB / 0.9988 GB, free: 8.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.9869, allocations: 4 kB / 0.9989 GB, free: 8.305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.9882, allocations: 215.6 kB / 0.9991 GB, free: 8.094 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003281/0.9915, allocations: 0.8886 MB / 0.9999 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.9917, allocations: 32.66 kB / 1 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02994/1.022, allocations: 22.71 MB / 1.022 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/1.022, allocations: 11.94 kB / 1.022 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008218/1.03, allocations: 3.379 MB / 1.025 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/1.032, allocations: 0.533 MB / 1.026 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/1.032, allocations: 32 kB / 1.026 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.034, allocations: 103.8 kB / 1.026 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005194/1.034, allocations: 137 kB / 1.026 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.035, allocations: 48 kB / 1.026 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002496/1.037, allocations: 1.225 MB / 1.027 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/1.037, allocations: 0 / 1.027 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004435/1.042, allocations: 0.9062 MB / 1.028 GB, free: 8.223 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.0003824/1.042, allocations: 157 kB / 1.029 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00976/1.052, allocations: 4.428 MB / 1.033 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/1.052, allocations: 5 kB / 1.033 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006657/1.058, allocations: 2.984 MB / 1.036 GB, free: 348 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006477/1.065, allocations: 0.8226 MB / 1.037 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/1.088, allocations: 7.585 MB / 1.044 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006934/1.095, allocations: 3.209 MB / 1.047 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002971/1.098, allocations: 0.5176 MB / 1.048 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/1.098, allocations: 143.4 kB / 1.048 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of SimCode: time 1.112e-06/1.098, allocations: 4 kB / 1.048 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of Templates: time 0.09466/1.193, allocations: 42.93 MB / 1.09 GB, free: 9.656 MB / 0.8887 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)