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.00144/0.00144, allocations: 105.4 kB / 15.7 MB, free: 24 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.001823/0.001824, allocations: 193.2 kB / 16.64 MB, free: 6.594 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.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.797/1.797, allocations: 292.3 MB / 0.549 GB, free: 12.8 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.001569/0.001569, allocations: 75.45 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2793, allocations: 114.6 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04032/0.3197, allocations: 32.49 MB / 0.8159 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02103/0.3407, allocations: 10.37 MB / 0.826 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004314/0.3451, allocations: 151.2 kB / 0.8261 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009917/0.3551, allocations: 3.716 MB / 0.8298 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006716/0.3619, allocations: 1.858 MB / 0.8316 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006793/0.3687, allocations: 2.131 MB / 0.8337 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.379, allocations: 7.314 MB / 0.8408 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01312/0.3922, allocations: 9.424 MB / 0.85 GB, free: 9.051 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005933/0.3981, allocations: 3.178 MB / 0.8531 GB, free: 5.863 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006341/0.4045, allocations: 3.477 MB / 0.8565 GB, free: 2.375 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001703/0.4063, allocations: 0.6445 MB / 0.8571 GB, free: 1.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004551/0.4108, allocations: 1.771 MB / 0.8589 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003862/0.4147, allocations: 2.542 MB / 0.8613 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005793/0.4205, allocations: 2.906 MB / 0.8642 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.4338, allocations: 10.11 MB / 0.8741 GB, free: 364 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.4339, allocations: 3.938 kB / 0.8741 GB, free: 360 kB / 0.6856 GB Notification: Performance of FrontEnd: time 3.617e-06/0.4339, allocations: 0 / 0.8741 GB, free: 360 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000412/0.4343, allocations: 0 / 0.8741 GB, free: 360 kB / 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.01271/0.4471, allocations: 4.998 MB / 0.8789 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4471, allocations: 12.03 kB / 0.879 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.4523, allocations: 0.9513 MB / 0.8799 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00629/0.4587, allocations: 3.042 MB / 0.8829 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.459, allocations: 353.7 kB / 0.8832 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.4601, allocations: 456.2 kB / 0.8836 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.4768, allocations: 7.675 MB / 0.8911 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/0.477, allocations: 27.7 kB / 0.8911 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007044/0.4777, allocations: 200 kB / 0.8913 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003803/0.4781, allocations: 313 kB / 0.8916 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.49, allocations: 5.71 MB / 0.8972 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5143/1.004, allocations: 34.82 MB / 0.9312 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/1.007, allocations: 2.152 MB / 0.9333 GB, free: 109 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/1.009, allocations: 1.266 MB / 0.9346 GB, free: 109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/1.009, allocations: 13.88 kB / 0.9346 GB, free: 109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.009, allocations: 51.16 kB / 0.9346 GB, free: 109 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.727e-06/1.009, allocations: 0 / 0.9346 GB, free: 109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01422/1.023, allocations: 7.083 MB / 0.9415 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/1.023, allocations: 67.09 kB / 0.9416 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/1.025, allocations: 1.484 MB / 0.943 GB, free: 105.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/1.025, allocations: 54.7 kB / 0.9431 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/1.026, allocations: 2.011 MB / 0.9451 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/1.027, allocations: 484.3 kB / 0.9455 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006859/1.028, allocations: 354.9 kB / 0.9459 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/1.028, allocations: 302.4 kB / 0.9462 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/1.029, allocations: 0.9125 MB / 0.947 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/1.031, allocations: 1.592 MB / 0.9486 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/1.035, allocations: 2.735 MB / 0.9513 GB, free: 99.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/1.035, allocations: 6.906 kB / 0.9513 GB, free: 99.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006617/1.042, allocations: 3.539 MB / 0.9547 GB, free: 97.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/1.042, allocations: 14.22 kB / 0.9547 GB, free: 97.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.313e-05/1.042, allocations: 25.69 kB / 0.9548 GB, free: 97.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/1.044, allocations: 0.8981 MB / 0.9556 GB, free: 97.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.046, allocations: 343.6 kB / 0.956 GB, free: 97.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/1.063, allocations: 23.11 MB / 0.9785 GB, free: 77.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/1.065, allocations: 112.2 kB / 0.9787 GB, free: 77.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/1.066, allocations: 81.81 kB / 0.9787 GB, free: 77.71 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.002914/1.068, allocations: 1.614 MB / 0.9803 GB, free: 76.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004635/1.069, allocations: 203.9 kB / 0.9805 GB, free: 76.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00534/1.074, allocations: 2.988 MB / 0.9834 GB, free: 75.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/1.074, allocations: 19.75 kB / 0.9834 GB, free: 75.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/1.074, allocations: 11.88 kB / 0.9834 GB, free: 75.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.074, allocations: 7.969 kB / 0.9835 GB, free: 75.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/1.086, allocations: 7.334 MB / 0.9906 GB, free: 70.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.086, allocations: 4.062 kB / 0.9906 GB, free: 70.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/1.087, allocations: 182.8 kB / 0.9908 GB, free: 70.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/1.089, allocations: 0.8249 MB / 0.9916 GB, free: 69.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.089, allocations: 25.41 kB / 0.9916 GB, free: 69.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/1.105, allocations: 21.94 MB / 1.013 GB, free: 49.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.105, allocations: 6.688 kB / 1.013 GB, free: 49.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004856/1.11, allocations: 3.029 MB / 1.016 GB, free: 47.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008614/1.11, allocations: 465.2 kB / 1.016 GB, free: 47.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/1.111, allocations: 26.77 kB / 1.016 GB, free: 47.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/1.111, allocations: 73.41 kB / 1.017 GB, free: 47.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/1.112, allocations: 131.2 kB / 1.017 GB, free: 47.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/1.112, allocations: 36 kB / 1.017 GB, free: 47.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001052/1.113, allocations: 0.9756 MB / 1.018 GB, free: 46.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.113, allocations: 0 / 1.018 GB, free: 46.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002669/1.116, allocations: 0.7852 MB / 1.018 GB, free: 45.34 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.0002195/1.116, allocations: 143.1 kB / 1.019 GB, free: 45.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004701/1.121, allocations: 4.035 MB / 1.023 GB, free: 41.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.121, allocations: 0 / 1.023 GB, free: 41.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00294/1.123, allocations: 2.736 MB / 1.025 GB, free: 38.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/1.127, allocations: 0.737 MB / 1.026 GB, free: 37.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.137, allocations: 7.109 MB / 1.033 GB, free: 30.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/1.139, allocations: 3.101 MB / 1.036 GB, free: 27.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001212/1.141, allocations: 450 kB / 1.036 GB, free: 26.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/1.141, allocations: 115.4 kB / 1.036 GB, free: 26.58 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/1.141, allocations: 0 / 1.036 GB, free: 26.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.05853/1.199, allocations: 35.73 MB / 1.071 GB, free: 7.305 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)