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.001046/0.001046, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001151/0.001151, allocations: 191.3 kB / 16.13 MB, free: 6.652 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.468/1.468, allocations: 205.1 MB / 222 MB, free: 4.715 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.805/1.805, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001296/0.001296, allocations: 64.23 kB / 0.6708 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2695, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03348/0.303, allocations: 32.2 MB / 0.8141 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.3203, allocations: 10.38 MB / 0.8243 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.324, allocations: 135.2 kB / 0.8244 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008835/0.3329, allocations: 3.463 MB / 0.8278 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006146/0.3391, allocations: 1.75 MB / 0.8295 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006437/0.3456, allocations: 1.924 MB / 0.8314 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01249/0.3581, allocations: 10.58 MB / 0.8417 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01747/0.3756, allocations: 10.62 MB / 0.8521 GB, free: 6.637 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005193/0.3808, allocations: 2.701 MB / 0.8547 GB, free: 3.926 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005796/0.3866, allocations: 3.555 MB / 0.8582 GB, free: 368 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001809/0.3885, allocations: 456 kB / 0.8586 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00487/0.3934, allocations: 1.88 MB / 0.8604 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00388/0.3973, allocations: 2.335 MB / 0.8627 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005527/0.4028, allocations: 2.668 MB / 0.8653 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.4165, allocations: 9.979 MB / 0.8751 GB, free: 15 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4166, allocations: 0 / 0.8751 GB, free: 15 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4166, allocations: 0 / 0.8751 GB, free: 15 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003556/0.4169, allocations: 0 / 0.8751 GB, free: 15 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01459/0.4315, allocations: 4.998 MB / 0.88 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/0.4316, allocations: 12.03 kB / 0.88 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006623/0.4383, allocations: 0.9551 MB / 0.8809 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006394/0.4447, allocations: 2.862 MB / 0.8837 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003471/0.4451, allocations: 345.7 kB / 0.884 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.4469, allocations: 468.2 kB / 0.8845 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.4666, allocations: 7.663 MB / 0.892 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/0.4669, allocations: 27.78 kB / 0.892 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001607/0.4686, allocations: 203.9 kB / 0.8922 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004006/0.469, allocations: 309 kB / 0.8925 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.482, allocations: 5.71 MB / 0.8981 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.493/0.975, allocations: 35.08 MB / 0.9323 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.9781, allocations: 2.155 MB / 0.9344 GB, free: 110 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.9801, allocations: 1.265 MB / 0.9357 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.9802, allocations: 16.31 kB / 0.9357 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.9803, allocations: 47.94 kB / 0.9357 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.186e-06/0.9803, allocations: 0 / 0.9357 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01513/0.9954, allocations: 7.092 MB / 0.9426 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.9955, allocations: 66.84 kB / 0.9427 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/0.999, allocations: 1.487 MB / 0.9442 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.9992, allocations: 46.94 kB / 0.9442 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/1.001, allocations: 1.999 MB / 0.9462 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005302/1.001, allocations: 491.4 kB / 0.9466 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000721/1.002, allocations: 347.1 kB / 0.947 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.449e-05/1.002, allocations: 302.8 kB / 0.9472 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/1.004, allocations: 0.9106 MB / 0.9481 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/1.006, allocations: 1.604 MB / 0.9497 GB, free: 101.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/1.01, allocations: 2.734 MB / 0.9524 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.864e-05/1.01, allocations: 10.56 kB / 0.9524 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007473/1.018, allocations: 3.53 MB / 0.9558 GB, free: 98.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/1.018, allocations: 15.31 kB / 0.9558 GB, free: 98.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.735e-05/1.018, allocations: 25.75 kB / 0.9559 GB, free: 98.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/1.021, allocations: 0.9002 MB / 0.9567 GB, free: 98.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.022, allocations: 350.5 kB / 0.9571 GB, free: 98.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/1.04, allocations: 21.21 MB / 0.9778 GB, free: 79.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/1.042, allocations: 99.02 kB / 0.9779 GB, free: 79.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/1.043, allocations: 92.84 kB / 0.978 GB, free: 79.86 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.003523/1.046, allocations: 1.61 MB / 0.9795 GB, free: 78.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006651/1.047, allocations: 204.3 kB / 0.9797 GB, free: 78.76 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004919/1.052, allocations: 2.992 MB / 0.9827 GB, free: 76.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/1.052, allocations: 15.69 kB / 0.9827 GB, free: 76.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-05/1.052, allocations: 7.875 kB / 0.9827 GB, free: 76.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/1.052, allocations: 7.969 kB / 0.9827 GB, free: 76.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/1.066, allocations: 7.346 MB / 0.9899 GB, free: 72.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.066, allocations: 3.656 kB / 0.9899 GB, free: 72.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/1.066, allocations: 174.7 kB / 0.99 GB, free: 72.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/1.069, allocations: 0.8307 MB / 0.9909 GB, free: 71.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/1.069, allocations: 23.62 kB / 0.9909 GB, free: 71.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/1.083, allocations: 20.3 MB / 1.011 GB, free: 52.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.083, allocations: 10.22 kB / 1.011 GB, free: 52.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005578/1.089, allocations: 3.03 MB / 1.014 GB, free: 50.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.09, allocations: 458.5 kB / 1.014 GB, free: 49.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006649/1.091, allocations: 35.92 kB / 1.014 GB, free: 49.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.092, allocations: 75.91 kB / 1.014 GB, free: 49.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/1.093, allocations: 120.9 kB / 1.014 GB, free: 49.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/1.093, allocations: 40 kB / 1.014 GB, free: 49.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001592/1.094, allocations: 0.9756 MB / 1.015 GB, free: 48.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.91e-07/1.094, allocations: 0 / 1.015 GB, free: 48.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004016/1.098, allocations: 0.7851 MB / 1.016 GB, free: 47.69 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.0003346/1.099, allocations: 149.9 kB / 1.016 GB, free: 47.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005208/1.104, allocations: 4.023 MB / 1.02 GB, free: 43.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/1.104, allocations: 4 kB / 1.02 GB, free: 43.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003203/1.107, allocations: 2.73 MB / 1.023 GB, free: 40.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/1.11, allocations: 0.6684 MB / 1.023 GB, free: 39.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.125, allocations: 9.15 MB / 1.032 GB, free: 30.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004329/1.129, allocations: 3.115 MB / 1.035 GB, free: 27.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001639/1.131, allocations: 458 kB / 1.036 GB, free: 27.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/1.132, allocations: 119.4 kB / 1.036 GB, free: 26.91 MB / 0.7325 GB Notification: Performance of SimCode: time 1.232e-06/1.132, allocations: 0 / 1.036 GB, free: 26.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.06056/1.192, allocations: 34.7 MB / 1.07 GB, free: 8.609 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)