Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001131/0.001131, allocations: 196.2 kB / 16.26 MB, free: 6.621 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.615/1.615, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.798/1.798, allocations: 292.2 MB / 0.5485 GB, free: 13.59 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.001383/0.001383, allocations: 69.09 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2691, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0359/0.3051, allocations: 30.38 MB / 0.8125 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02336/0.3285, allocations: 13.52 MB / 0.8257 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00401/0.3325, allocations: 127.2 kB / 0.8259 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008757/0.3413, allocations: 2.979 MB / 0.8288 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009728/0.3511, allocations: 2.452 MB / 0.8312 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006352/0.3575, allocations: 1.839 MB / 0.833 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0115/0.369, allocations: 7.641 MB / 0.8404 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01783/0.3869, allocations: 9.945 MB / 0.8501 GB, free: 8.73 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007827/0.3948, allocations: 3.462 MB / 0.8535 GB, free: 5.258 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006746/0.4015, allocations: 3.536 MB / 0.857 GB, free: 1.711 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00283/0.4044, allocations: 0.5977 MB / 0.8576 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/0.4098, allocations: 1.494 MB / 0.859 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005105/0.4149, allocations: 2.366 MB / 0.8613 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007553/0.4225, allocations: 2.882 MB / 0.8641 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.4372, allocations: 9.469 MB / 0.8734 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.4373, allocations: 0 / 0.8734 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.947e-06/0.4373, allocations: 3.984 kB / 0.8734 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003219/0.4376, allocations: 0 / 0.8734 GB, free: 0.8516 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01996/0.4576, allocations: 5.14 MB / 0.8784 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.4577, allocations: 8.031 kB / 0.8784 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006824/0.4645, allocations: 0.9981 MB / 0.8794 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/0.4714, allocations: 2.888 MB / 0.8822 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.4717, allocations: 324.8 kB / 0.8825 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.4731, allocations: 416.1 kB / 0.8829 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.4894, allocations: 6.795 MB / 0.8896 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001934/0.4897, allocations: 15.84 kB / 0.8896 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009312/0.4906, allocations: 184 kB / 0.8897 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009281/0.4916, allocations: 376 kB / 0.8901 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.5043, allocations: 5.118 MB / 0.8951 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5555/1.06, allocations: 30.74 MB / 0.9251 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/1.062, allocations: 1.386 MB / 0.9265 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/1.064, allocations: 1.326 MB / 0.9278 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/1.065, allocations: 13.72 kB / 0.9278 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/1.065, allocations: 49.69 kB / 0.9278 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.938e-06/1.065, allocations: 2.344 kB / 0.9278 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.08624/1.151, allocations: 23.08 MB / 0.9504 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/1.151, allocations: 72.16 kB / 0.9504 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/1.154, allocations: 2.061 MB / 0.9524 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004063/1.154, allocations: 57.61 kB / 0.9525 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/1.156, allocations: 2.017 MB / 0.9545 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006985/1.156, allocations: 0.6724 MB / 0.9551 GB, free: 107 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006685/1.157, allocations: 417.3 kB / 0.9555 GB, free: 106.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.435e-05/1.157, allocations: 301.1 kB / 0.9558 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/1.159, allocations: 1.433 MB / 0.9572 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/1.161, allocations: 2.007 MB / 0.9592 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/1.165, allocations: 3.697 MB / 0.9628 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/1.165, allocations: 5.312 kB / 0.9628 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01005/1.175, allocations: 5.658 MB / 0.9683 GB, free: 98.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/1.175, allocations: 14.75 kB / 0.9683 GB, free: 98.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/1.175, allocations: 19.59 kB / 0.9683 GB, free: 98.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00646/1.181, allocations: 2.103 MB / 0.9704 GB, free: 97.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.183, allocations: 372 kB / 0.9708 GB, free: 97.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02945/1.212, allocations: 38.46 MB / 1.008 GB, free: 57.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/1.215, allocations: 123.9 kB / 1.008 GB, free: 57.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/1.216, allocations: 99.28 kB / 1.009 GB, free: 57.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002676/1.218, allocations: 1.508 MB / 1.01 GB, free: 56.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007061/1.219, allocations: 288.6 kB / 1.01 GB, free: 55.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008508/1.228, allocations: 5.208 MB / 1.015 GB, free: 50.44 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.228, allocations: 21.41 kB / 1.015 GB, free: 50.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-05/1.228, allocations: 16 kB / 1.015 GB, free: 50.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/1.228, allocations: 11.97 kB / 1.015 GB, free: 50.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/1.244, allocations: 9.674 MB / 1.025 GB, free: 40.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.244, allocations: 8 kB / 1.025 GB, free: 40.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/1.245, allocations: 220.4 kB / 1.025 GB, free: 40.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005348/1.251, allocations: 1.86 MB / 1.027 GB, free: 38.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002454/1.251, allocations: 36 kB / 1.027 GB, free: 38.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02797/1.279, allocations: 37.46 MB / 1.064 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/1.279, allocations: 11.94 kB / 1.064 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009564/1.289, allocations: 4.905 MB / 1.068 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/1.29, allocations: 0.6186 MB / 1.069 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/1.291, allocations: 43.94 kB / 1.069 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.292, allocations: 127.8 kB / 1.069 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005986/1.293, allocations: 197.5 kB / 1.069 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/1.293, allocations: 59.83 kB / 1.069 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001857/1.295, allocations: 1.378 MB / 1.071 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.295, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003564/1.298, allocations: 1.047 MB / 1.072 GB, free: 5.902 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003018/1.299, allocations: 170.9 kB / 1.072 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01223/1.311, allocations: 7.216 MB / 1.079 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.311, allocations: 4.875 kB / 1.079 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007286/1.318, allocations: 4.386 MB / 1.083 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00446/1.323, allocations: 0.9928 MB / 1.084 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/1.34, allocations: 10.06 MB / 1.094 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/1.344, allocations: 3.123 MB / 1.097 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002376/1.346, allocations: 0.5276 MB / 1.098 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/1.347, allocations: 143.4 kB / 1.098 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of SimCode: time 1.062e-06/1.347, allocations: 4 kB / 1.098 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.1086/1.455, allocations: 60.51 MB / 1.157 GB, free: 15.18 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)