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.001477/0.001477, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001919/0.001919, allocations: 191.6 kB / 16.14 MB, free: 6.703 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.489/1.489, allocations: 205.1 MB / 222 MB, free: 4.754 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.765/1.765, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001384/0.001384, allocations: 67.69 kB / 0.6708 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2539, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03685/0.2908, allocations: 34.69 MB / 0.8166 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.3106, allocations: 9.977 MB / 0.8263 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004597/0.3153, allocations: 135.2 kB / 0.8264 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008846/0.3242, allocations: 3.539 MB / 0.8299 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005936/0.3301, allocations: 1.921 MB / 0.8318 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004779/0.3349, allocations: 1.789 MB / 0.8335 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.3465, allocations: 11.2 MB / 0.8444 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0158/0.3624, allocations: 10.69 MB / 0.8549 GB, free: 3.754 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006279/0.3687, allocations: 2.872 MB / 0.8577 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007166/0.3759, allocations: 3.808 MB / 0.8614 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001729/0.3776, allocations: 464 kB / 0.8619 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.3813, allocations: 1.443 MB / 0.8633 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003237/0.3846, allocations: 2.393 MB / 0.8656 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006041/0.3907, allocations: 2.843 MB / 0.8684 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.4024, allocations: 10.19 MB / 0.8783 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.4025, allocations: 0 / 0.8783 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4025, allocations: 4 kB / 0.8783 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003471/0.4028, allocations: 4 kB / 0.8783 GB, free: 11.67 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.01448/0.4173, allocations: 5.409 MB / 0.8836 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4174, allocations: 12.03 kB / 0.8836 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.4222, allocations: 0.9586 MB / 0.8846 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006078/0.4283, allocations: 2.995 MB / 0.8875 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004579/0.4287, allocations: 365.9 kB / 0.8878 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.4298, allocations: 468.3 kB / 0.8883 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.4438, allocations: 7.91 MB / 0.896 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.4439, allocations: 19.78 kB / 0.896 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004938/0.4444, allocations: 208 kB / 0.8962 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005735/0.445, allocations: 369.1 kB / 0.8966 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.456, allocations: 5.933 MB / 0.9024 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.503/0.9591, allocations: 36.21 MB / 0.9377 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00478/0.9639, allocations: 2.133 MB / 0.9398 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002796/0.9667, allocations: 1.483 MB / 0.9413 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.9669, allocations: 17.62 kB / 0.9413 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.967, allocations: 50.62 kB / 0.9413 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 5.08e-06/0.967, allocations: 0 / 0.9413 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01805/0.9851, allocations: 7.536 MB / 0.9487 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.9852, allocations: 68.06 kB / 0.9488 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/0.9891, allocations: 1.87 MB / 0.9506 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003849/0.9895, allocations: 58.97 kB / 0.9506 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00169/0.9912, allocations: 2.122 MB / 0.9527 GB, free: 100 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007019/0.9919, allocations: 0.5583 MB / 0.9533 GB, free: 99.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007927/0.9927, allocations: 406.7 kB / 0.9536 GB, free: 99.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.9928, allocations: 302.9 kB / 0.9539 GB, free: 99.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.9945, allocations: 1.063 MB / 0.955 GB, free: 98.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.9966, allocations: 1.765 MB / 0.9567 GB, free: 97.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/1, allocations: 3.049 MB / 0.9597 GB, free: 95.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/1, allocations: 7 kB / 0.9597 GB, free: 95.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006463/1.007, allocations: 3.919 MB / 0.9635 GB, free: 93.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/1.007, allocations: 14.94 kB / 0.9635 GB, free: 93.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/1.007, allocations: 25.56 kB / 0.9636 GB, free: 93.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/1.01, allocations: 0.9295 MB / 0.9645 GB, free: 93.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/1.011, allocations: 430.4 kB / 0.9649 GB, free: 93.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/1.026, allocations: 21.05 MB / 0.9854 GB, free: 74.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/1.028, allocations: 122.8 kB / 0.9855 GB, free: 74.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/1.028, allocations: 98.7 kB / 0.9856 GB, free: 74.12 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.002567/1.031, allocations: 1.647 MB / 0.9872 GB, free: 73.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000647/1.032, allocations: 255.6 kB / 0.9875 GB, free: 72.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004824/1.036, allocations: 3.263 MB / 0.9907 GB, free: 71.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/1.036, allocations: 20.03 kB / 0.9907 GB, free: 71.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/1.037, allocations: 13 kB / 0.9907 GB, free: 71.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/1.037, allocations: 7.969 kB / 0.9907 GB, free: 71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/1.048, allocations: 7.548 MB / 0.9981 GB, free: 66.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.048, allocations: 6.188 kB / 0.9981 GB, free: 66.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008701/1.048, allocations: 214.6 kB / 0.9983 GB, free: 66.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002045/1.051, allocations: 0.8989 MB / 0.9992 GB, free: 65.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.051, allocations: 27.72 kB / 0.9992 GB, free: 65.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/1.065, allocations: 21.01 MB / 1.02 GB, free: 44 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.065, allocations: 4 kB / 1.02 GB, free: 43.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/1.07, allocations: 3.395 MB / 1.023 GB, free: 40.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.071, allocations: 0.5292 MB / 1.024 GB, free: 39.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/1.071, allocations: 28 kB / 1.024 GB, free: 39.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009953/1.072, allocations: 95.88 kB / 1.024 GB, free: 39.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003942/1.073, allocations: 143.4 kB / 1.024 GB, free: 39.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/1.073, allocations: 48.19 kB / 1.024 GB, free: 39.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001411/1.074, allocations: 1.221 MB / 1.025 GB, free: 38.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.074, allocations: 0 / 1.025 GB, free: 38.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002804/1.077, allocations: 0.9062 MB / 1.026 GB, free: 37.49 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.0002238/1.077, allocations: 162.9 kB / 1.026 GB, free: 37.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005186/1.082, allocations: 4.411 MB / 1.03 GB, free: 32.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.082, allocations: 4 kB / 1.03 GB, free: 32.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003179/1.085, allocations: 2.991 MB / 1.033 GB, free: 29.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/1.089, allocations: 0.7734 MB / 1.034 GB, free: 28.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.101, allocations: 9.698 MB / 1.044 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/1.104, allocations: 3.211 MB / 1.047 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001802/1.106, allocations: 0.5254 MB / 1.047 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/1.106, allocations: 143.4 kB / 1.047 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/1.106, allocations: 0 / 1.047 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.06424/1.17, allocations: 41.53 MB / 1.088 GB, free: 6.227 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)