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.00109/0.00109, allocations: 106.6 kB / 15.99 MB, free: 5.914 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.00124/0.00124, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.336/1.336, allocations: 205.1 MB / 222.8 MB, free: 4.562 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.721/1.721, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001445/0.001446, allocations: 65.39 kB / 0.6717 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2242, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03685/0.2611, allocations: 34.69 MB / 0.8174 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.2796, allocations: 9.918 MB / 0.8271 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004282/0.284, allocations: 135.2 kB / 0.8272 GB, free: 1 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.2941, allocations: 3.551 MB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007905/0.302, allocations: 1.878 MB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006618/0.3087, allocations: 1.785 MB / 0.8343 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01129/0.32, allocations: 7.998 MB / 0.8421 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02039/0.3404, allocations: 11.7 MB / 0.8535 GB, free: 5.938 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006901/0.3474, allocations: 3.415 MB / 0.8568 GB, free: 2.512 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007314/0.3547, allocations: 3.922 MB / 0.8607 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003001/0.3578, allocations: 0.6797 MB / 0.8613 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.3628, allocations: 1.44 MB / 0.8627 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00484/0.3677, allocations: 2.612 MB / 0.8653 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007883/0.3756, allocations: 3.104 MB / 0.8683 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.3883, allocations: 8.855 MB / 0.877 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.616e-05/0.3884, allocations: 0 / 0.877 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.876e-06/0.3885, allocations: 7.938 kB / 0.877 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005284/0.389, allocations: 4 kB / 0.877 GB, free: 13.84 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.01945/0.4085, allocations: 5.408 MB / 0.8823 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.4085, allocations: 12.03 kB / 0.8823 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005721/0.4143, allocations: 0.9548 MB / 0.8832 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006263/0.4206, allocations: 2.999 MB / 0.8861 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.4209, allocations: 353.9 kB / 0.8865 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/0.4226, allocations: 472.2 kB / 0.8869 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/0.4398, allocations: 7.914 MB / 0.8946 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.44, allocations: 19.81 kB / 0.8947 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007642/0.4408, allocations: 208 kB / 0.8949 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005162/0.4413, allocations: 365.1 kB / 0.8952 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.4537, allocations: 5.933 MB / 0.901 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5263/0.9801, allocations: 36.21 MB / 0.9364 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.9836, allocations: 2.14 MB / 0.9385 GB, free: 108 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.9856, allocations: 1.477 MB / 0.9399 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.9857, allocations: 21 kB / 0.9399 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.9858, allocations: 52.36 kB / 0.94 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 6.613e-06/0.9858, allocations: 0 / 0.94 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01473/1.001, allocations: 7.535 MB / 0.9473 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/1.001, allocations: 69.45 kB / 0.9474 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004921/1.006, allocations: 1.861 MB / 0.9492 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003806/1.006, allocations: 56.16 kB / 0.9493 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.008, allocations: 2.131 MB / 0.9513 GB, free: 101.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/1.008, allocations: 0.5587 MB / 0.9519 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009838/1.009, allocations: 402.6 kB / 0.9523 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/1.009, allocations: 311.6 kB / 0.9526 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/1.011, allocations: 1.057 MB / 0.9536 GB, free: 99.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/1.013, allocations: 1.762 MB / 0.9553 GB, free: 98.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004222/1.017, allocations: 3.055 MB / 0.9583 GB, free: 96.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-05/1.018, allocations: 11.5 kB / 0.9583 GB, free: 96.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008237/1.026, allocations: 3.913 MB / 0.9621 GB, free: 95.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/1.026, allocations: 15.12 kB / 0.9622 GB, free: 95.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/1.026, allocations: 23.03 kB / 0.9622 GB, free: 95.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/1.029, allocations: 0.932 MB / 0.9631 GB, free: 94.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.03, allocations: 428.4 kB / 0.9635 GB, free: 94.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/1.047, allocations: 22.78 MB / 0.9857 GB, free: 74.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/1.049, allocations: 123 kB / 0.9859 GB, free: 74.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004325/1.05, allocations: 102.4 kB / 0.986 GB, free: 74.19 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.003191/1.053, allocations: 1.645 MB / 0.9876 GB, free: 73.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007918/1.054, allocations: 251.7 kB / 0.9878 GB, free: 73.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005195/1.059, allocations: 3.265 MB / 0.991 GB, free: 71.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/1.059, allocations: 14.47 kB / 0.991 GB, free: 71.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-05/1.059, allocations: 14.91 kB / 0.991 GB, free: 71.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.059, allocations: 7.969 kB / 0.991 GB, free: 71.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/1.071, allocations: 7.554 MB / 0.9984 GB, free: 66.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.071, allocations: 3.75 kB / 0.9984 GB, free: 66.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/1.072, allocations: 219 kB / 0.9986 GB, free: 66.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/1.074, allocations: 0.8999 MB / 0.9995 GB, free: 65.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.074, allocations: 29.97 kB / 0.9995 GB, free: 65.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/1.089, allocations: 22.73 MB / 1.022 GB, free: 42.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.089, allocations: 7.938 kB / 1.022 GB, free: 42.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005227/1.094, allocations: 3.379 MB / 1.025 GB, free: 39.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.095, allocations: 0.5253 MB / 1.026 GB, free: 38.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006982/1.096, allocations: 43.59 kB / 1.026 GB, free: 38.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.098, allocations: 96.02 kB / 1.026 GB, free: 38.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003939/1.098, allocations: 148.9 kB / 1.026 GB, free: 38.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.098, allocations: 40 kB / 1.026 GB, free: 38.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001794/1.1, allocations: 1.229 MB / 1.027 GB, free: 36.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.1, allocations: 0 / 1.027 GB, free: 36.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00367/1.104, allocations: 0.9062 MB / 1.028 GB, free: 36.08 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.000326/1.104, allocations: 155 kB / 1.028 GB, free: 35.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007034/1.111, allocations: 5.201 MB / 1.033 GB, free: 30.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.111, allocations: 8 kB / 1.033 GB, free: 30.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00334/1.114, allocations: 2.987 MB / 1.036 GB, free: 27.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/1.119, allocations: 0.8261 MB / 1.037 GB, free: 26.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.134, allocations: 10.34 MB / 1.047 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00404/1.138, allocations: 3.279 MB / 1.05 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/1.139, allocations: 151.4 kB / 1.05 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/1.139, allocations: 0 / 1.05 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.7498/1.889, allocations: 339.6 MB / 1.382 GB, free: 261.9 MB / 0.9512 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)