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.001567/0.001575, allocations: 107.4 kB / 16.27 MB, free: 5.984 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.001058/0.001058, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.359/1.359, allocations: 205.1 MB / 223.1 MB, free: 4.152 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.687/1.687, allocations: 292.3 MB / 0.5495 GB, free: 12.78 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.001401/0.001401, allocations: 69.89 kB / 0.6722 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2032, allocations: 114.5 MB / 0.784 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03438/0.2376, allocations: 32.5 MB / 0.8158 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.2538, allocations: 10.37 MB / 0.8259 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00281/0.2566, allocations: 147.2 kB / 0.826 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009034/0.2657, allocations: 3.721 MB / 0.8297 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005534/0.2713, allocations: 1.854 MB / 0.8315 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005628/0.2769, allocations: 2.122 MB / 0.8336 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008814/0.2858, allocations: 7.333 MB / 0.8407 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01175/0.2976, allocations: 9.494 MB / 0.85 GB, free: 9.617 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/0.3027, allocations: 3.151 MB / 0.8531 GB, free: 6.457 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.3081, allocations: 3.485 MB / 0.8565 GB, free: 2.961 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001906/0.31, allocations: 0.6445 MB / 0.8571 GB, free: 2.316 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.3143, allocations: 1.771 MB / 0.8588 GB, free: 0.543 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003548/0.3178, allocations: 2.546 MB / 0.8613 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005346/0.3232, allocations: 2.894 MB / 0.8641 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.3343, allocations: 10.05 MB / 0.8739 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3344, allocations: 4 kB / 0.874 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3344, allocations: 0 / 0.874 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000252/0.3347, allocations: 0 / 0.874 GB, free: 1.008 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.01135/0.346, allocations: 5.002 MB / 0.8788 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.3461, allocations: 8.031 kB / 0.8788 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/0.3519, allocations: 0.9474 MB / 0.8798 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005497/0.3575, allocations: 2.866 MB / 0.8826 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.3578, allocations: 349.7 kB / 0.8829 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00132/0.3591, allocations: 464.2 kB / 0.8833 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.3738, allocations: 7.663 MB / 0.8908 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/0.374, allocations: 27.77 kB / 0.8909 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007689/0.3748, allocations: 204 kB / 0.891 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003256/0.3751, allocations: 312.9 kB / 0.8913 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.3862, allocations: 5.714 MB / 0.8969 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4273/0.8135, allocations: 35.08 MB / 0.9312 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/0.8174, allocations: 2.159 MB / 0.9333 GB, free: 109 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.8193, allocations: 1.257 MB / 0.9345 GB, free: 109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/0.8194, allocations: 15.44 kB / 0.9345 GB, free: 109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.8194, allocations: 55.95 kB / 0.9346 GB, free: 109 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.536e-06/0.8195, allocations: 3.828 kB / 0.9346 GB, free: 109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01332/0.8328, allocations: 7.081 MB / 0.9415 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.8329, allocations: 67.44 kB / 0.9416 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.8349, allocations: 1.488 MB / 0.943 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.8351, allocations: 49.42 kB / 0.9431 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.8363, allocations: 2.006 MB / 0.945 GB, free: 104 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/0.8369, allocations: 488.1 kB / 0.9455 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000576/0.8374, allocations: 351.5 kB / 0.9458 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.8375, allocations: 302.5 kB / 0.9461 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.839, allocations: 0.9173 MB / 0.947 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.8408, allocations: 1.592 MB / 0.9486 GB, free: 101.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.8446, allocations: 2.742 MB / 0.9512 GB, free: 99.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.8447, allocations: 7.188 kB / 0.9513 GB, free: 99.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006184/0.8509, allocations: 3.524 MB / 0.9547 GB, free: 98.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.851, allocations: 14.53 kB / 0.9547 GB, free: 98.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/0.851, allocations: 22.84 kB / 0.9547 GB, free: 98.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.8535, allocations: 0.9061 MB / 0.9556 GB, free: 98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.8548, allocations: 350.4 kB / 0.956 GB, free: 97.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/0.8712, allocations: 23.12 MB / 0.9785 GB, free: 78.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.8729, allocations: 103.4 kB / 0.9786 GB, free: 78.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/0.8731, allocations: 84.62 kB / 0.9787 GB, free: 78.04 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.002988/0.8761, allocations: 1.617 MB / 0.9803 GB, free: 77.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.8766, allocations: 211.1 kB / 0.9805 GB, free: 77.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004542/0.8812, allocations: 2.98 MB / 0.9834 GB, free: 75.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.8812, allocations: 18.39 kB / 0.9834 GB, free: 75.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/0.8812, allocations: 11.72 kB / 0.9834 GB, free: 75.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.8812, allocations: 11.92 kB / 0.9834 GB, free: 75.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.8915, allocations: 7.344 MB / 0.9906 GB, free: 70.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.8916, allocations: 4.375 kB / 0.9906 GB, free: 70.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/0.8923, allocations: 176.6 kB / 0.9908 GB, free: 70.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002192/0.8945, allocations: 0.8212 MB / 0.9916 GB, free: 70.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.8947, allocations: 34.22 kB / 0.9916 GB, free: 70.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/0.909, allocations: 21.95 MB / 1.013 GB, free: 49.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.909, allocations: 11.61 kB / 1.013 GB, free: 49.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004506/0.9135, allocations: 3.021 MB / 1.016 GB, free: 47.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009313/0.9145, allocations: 471.6 kB / 1.016 GB, free: 47.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.9148, allocations: 24.91 kB / 1.016 GB, free: 47.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/0.9156, allocations: 73.41 kB / 1.017 GB, free: 47.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.9159, allocations: 128.4 kB / 1.017 GB, free: 47.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.219e-05/0.916, allocations: 41.19 kB / 1.017 GB, free: 47.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001061/0.917, allocations: 0.9765 MB / 1.018 GB, free: 46.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.372e-06/0.9171, allocations: 0 / 1.018 GB, free: 46.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002955/0.92, allocations: 0.7901 MB / 1.018 GB, free: 45.75 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.0002379/0.9203, allocations: 139.1 kB / 1.019 GB, free: 45.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006169/0.9264, allocations: 4.649 MB / 1.023 GB, free: 40.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.9265, allocations: 4.125 kB / 1.023 GB, free: 40.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003022/0.9295, allocations: 2.731 MB / 1.026 GB, free: 37.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/0.9328, allocations: 0.7253 MB / 1.027 GB, free: 37.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.9437, allocations: 7.836 MB / 1.034 GB, free: 29.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/0.9463, allocations: 3.178 MB / 1.037 GB, free: 26.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.9468, allocations: 135.4 kB / 1.037 GB, free: 26.02 MB / 0.7325 GB Notification: Performance of SimCode: time 9.41e-07/0.9468, allocations: 0 / 1.037 GB, free: 26.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.7012/1.648, allocations: 321.5 MB / 1.351 GB, free: 292.9 MB / 0.9512 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)