Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.549/1.549, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.00148/0.001481, allocations: 71.05 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2992, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04034/0.3396, allocations: 32.49 MB / 0.8151 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.3616, allocations: 10.37 MB / 0.8252 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005417/0.3672, allocations: 151.2 kB / 0.8254 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.3779, allocations: 3.71 MB / 0.829 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006898/0.3849, allocations: 1.858 MB / 0.8308 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006979/0.3919, allocations: 2.127 MB / 0.8329 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01232/0.4042, allocations: 7.326 MB / 0.84 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0182/0.4225, allocations: 9.49 MB / 0.8493 GB, free: 9.621 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007974/0.4305, allocations: 3.163 MB / 0.8524 GB, free: 6.449 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007632/0.4382, allocations: 3.481 MB / 0.8558 GB, free: 2.957 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002908/0.4412, allocations: 0.6445 MB / 0.8564 GB, free: 2.312 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006293/0.4475, allocations: 1.771 MB / 0.8582 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00507/0.4526, allocations: 2.546 MB / 0.8606 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00838/0.461, allocations: 2.898 MB / 0.8635 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.4772, allocations: 10.04 MB / 0.8733 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4773, allocations: 0 / 0.8733 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4773, allocations: 0 / 0.8733 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003768/0.4777, allocations: 7.984 kB / 0.8733 GB, free: 1 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01486/0.4925, allocations: 5.002 MB / 0.8782 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4926, allocations: 8.031 kB / 0.8782 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/0.4992, allocations: 0.9474 MB / 0.8791 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007493/0.5068, allocations: 2.862 MB / 0.8819 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/0.5071, allocations: 349.7 kB / 0.8822 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.509, allocations: 460.2 kB / 0.8827 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.5278, allocations: 7.667 MB / 0.8902 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002637/0.5281, allocations: 31.7 kB / 0.8902 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001413/0.5295, allocations: 200 kB / 0.8904 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004257/0.5299, allocations: 309 kB / 0.8907 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/0.5437, allocations: 5.714 MB / 0.8963 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5289/1.073, allocations: 35.09 MB / 0.9305 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/1.075, allocations: 2.16 MB / 0.9326 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.077, allocations: 1.263 MB / 0.9339 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.251e-05/1.077, allocations: 12.94 kB / 0.9339 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/1.077, allocations: 48.5 kB / 0.9339 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 4.078e-06/1.077, allocations: 0 / 0.9339 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.0149/1.092, allocations: 7.086 MB / 0.9408 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.092, allocations: 69.94 kB / 0.9409 GB, free: 106.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/1.094, allocations: 1.491 MB / 0.9424 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.094, allocations: 48.61 kB / 0.9424 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.096, allocations: 2.005 MB / 0.9444 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/1.096, allocations: 488.6 kB / 0.9448 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006778/1.097, allocations: 350.8 kB / 0.9452 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.342e-05/1.097, allocations: 301.8 kB / 0.9455 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/1.099, allocations: 0.9117 MB / 0.9464 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/1.101, allocations: 1.599 MB / 0.9479 GB, free: 101.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004714/1.106, allocations: 2.736 MB / 0.9506 GB, free: 99.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/1.106, allocations: 6.531 kB / 0.9506 GB, free: 99.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006659/1.112, allocations: 3.528 MB / 0.954 GB, free: 98.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/1.112, allocations: 15.97 kB / 0.9541 GB, free: 98.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/1.112, allocations: 22.31 kB / 0.9541 GB, free: 98.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/1.115, allocations: 0.9022 MB / 0.955 GB, free: 97.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.116, allocations: 351.2 kB / 0.9553 GB, free: 97.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/1.133, allocations: 23.12 MB / 0.9779 GB, free: 78.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/1.134, allocations: 99.8 kB / 0.978 GB, free: 78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.135, allocations: 89.75 kB / 0.9781 GB, free: 77.98 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002653/1.137, allocations: 1.615 MB / 0.9796 GB, free: 77.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/1.138, allocations: 203.8 kB / 0.9798 GB, free: 77.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/1.142, allocations: 2.982 MB / 0.9827 GB, free: 75.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.142, allocations: 19.81 kB / 0.9828 GB, free: 75.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.142, allocations: 11.94 kB / 0.9828 GB, free: 75.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.142, allocations: 7.969 kB / 0.9828 GB, free: 75.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/1.152, allocations: 7.345 MB / 0.9899 GB, free: 70.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.152, allocations: 3.812 kB / 0.99 GB, free: 70.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/1.153, allocations: 174.3 kB / 0.9901 GB, free: 70.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/1.155, allocations: 0.829 MB / 0.9909 GB, free: 70.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.18e-05/1.155, allocations: 34.56 kB / 0.991 GB, free: 70.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/1.169, allocations: 21.95 MB / 1.012 GB, free: 49.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.169, allocations: 7.781 kB / 1.012 GB, free: 49.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004668/1.174, allocations: 3.031 MB / 1.015 GB, free: 47.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.175, allocations: 460.7 kB / 1.016 GB, free: 47.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/1.175, allocations: 26.22 kB / 1.016 GB, free: 47.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000849/1.176, allocations: 73.38 kB / 1.016 GB, free: 47.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000504/1.177, allocations: 122.1 kB / 1.016 GB, free: 47.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-05/1.177, allocations: 41.34 kB / 1.016 GB, free: 47.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001375/1.178, allocations: 0.9768 MB / 1.017 GB, free: 46.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.178, allocations: 0 / 1.017 GB, free: 46.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002954/1.181, allocations: 0.7852 MB / 1.018 GB, free: 45.8 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002612/1.181, allocations: 150.1 kB / 1.018 GB, free: 45.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005924/1.187, allocations: 4.65 MB / 1.022 GB, free: 40.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.187, allocations: 0 / 1.022 GB, free: 40.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/1.19, allocations: 2.731 MB / 1.025 GB, free: 37.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/1.194, allocations: 0.7369 MB / 1.026 GB, free: 37.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/1.207, allocations: 7.208 MB / 1.033 GB, free: 30.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/1.21, allocations: 3.112 MB / 1.036 GB, free: 26.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001383/1.211, allocations: 454 kB / 1.036 GB, free: 26.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/1.211, allocations: 111.4 kB / 1.036 GB, free: 26.34 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/1.211, allocations: 3.938 kB / 1.036 GB, free: 26.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.0577/1.269, allocations: 35.72 MB / 1.071 GB, free: 7.062 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)